![]() |
API
0.9.6
|
#import <CPTableView.h>
Class Methods | |
(CPString) | + defaultThemeClass |
(id) | + themeAttributes |
![]() | |
(void) | + initialize |
![]() | |
(CPMenu) | + defaultMenu |
(CPSet) | + keyPathsForValuesAffectingBounds |
(CPSet) | + keyPathsForValuesAffectingFrame |
![]() | |
(BOOL) | + accessInstanceVariablesDirectly |
(id) | + alloc |
(id) | + allocWithCoder: |
(BOOL) | + automaticallyNotifiesObserversForKey: |
(Class) | + class |
(void) | + exposeBinding: |
(IMP) | + instanceMethodForSelector: |
(BOOL) | + instancesRespondToSelector: |
(BOOL) | + isSubclassOfClass: |
(CPSet) | + keyPathsForValuesAffectingValueForKey: |
(id) | + new |
(void) | + setVersion: |
(Class) | + superclass |
(int) | + version |
Additional Inherited Members | |
![]() | |
Class | isa |
CPTableView object displays record-oriented data in a table and allows the user to edit values and resize and rearrange columns. A CPTableView requires you to either set a data source which implements numberOfRowsInTableView: and tableView:objectValueForTableColumn:row:, or alternatively to provide data through Key Value Bindings.
To use a table view with Key Value Bindings, bind each column's CPValueBinding
to an array.field
path - typically this would be to a path in an array controller like arrangedObjects.X
, where X
is the name of a field. Optionally also bind the table's selectionIndexes
and sortDescriptors
to the array controller.
All delegate and data source methods are documented in the setDataSource: and setDelegate: methods.
If you want to display something other than just text in the table you should call setDataView: on a CPTableColumn object. More documentation in that class including theme states.
Definition at line 2 of file CPTableView.h.
|
implementation |
Reimplemented from CPResponder.
Definition at line 4611 of file CPTableView.j.
|
implementation |
Adds a given column as the last column of the receiver.
aColumn | The column to add to the receiver. |
Reimplemented in CPOutlineView.
Definition at line 877 of file CPTableView.j.
|
implementation |
Returns YES if the user is allowed to reorder the columns, otherwise NO.
Definition at line 566 of file CPTableView.j.
|
implementation |
Returns YES if the user is allowed to manually resize the columns, otherwise NO.
Definition at line 583 of file CPTableView.j.
|
implementation |
Returns YES if the user is allowed to select a column by clicking it, otherwise NO.
Definition at line 638 of file CPTableView.j.
|
implementation |
Returns YES if the tableview is allowed to have an unselected row or column, otherwise NO.
Definition at line 619 of file CPTableView.j.
|
implementation |
Returns YES if the tableview is allowed to have multiple selections, otherwise NO.
Definition at line 602 of file CPTableView.j.
|
implementation |
Returns an array of the alternating background colors
Definition at line 735 of file CPTableView.j.
|
implementation |
Returns the autosave name of the tableview.
Definition at line 2222 of file CPTableView.j.
|
implementation |
Returns YES the table columns should autosave, otherwise NO.
Definition at line 2241 of file CPTableView.j.
|
implementation |
Reimplemented from CPResponder.
Definition at line 4603 of file CPTableView.j.
|
implementation |
Reimplemented from CPObject.
Provided by category CPTableView(Bindings).
Definition at line 4800 of file CPTableView.j.
|
implementation |
Returns whether the receiver allows dragging the rows at rowIndexes with a drag initiated at mousedDownPoint.
rowIndexes | an index set of rows to be dragged |
aPoint | the point at which the mouse was clicked. |
Definition at line 2781 of file CPTableView.j.
|
implementation |
Definition at line 540 of file CPTableView.j.
|
implementation |
Returns the index of the the row the user clicked to trigger an action, or -1 if no row was clicked.
Definition at line 548 of file CPTableView.j.
|
implementation |
Returns the index of a column at a given point. If no column is there CPNotFound is returned.
aPoint | a CGPoint |
Definition at line 1750 of file CPTableView.j.
|
implementation |
Returns the column auto resizing style of the receiver.
Definition at line 2026 of file CPTableView.j.
|
implementation |
Returns the indexes of the receiver's columns that intersect the specified rectangle.
aRect | a rectangle in the coordinate system of the receiver. |
Definition at line 1716 of file CPTableView.j.
|
implementation |
Returns the index of the column with the specified identifier
anIdentifier | the string value of the tablecolumn identifier |
Definition at line 1033 of file CPTableView.j.
|
implementation |
Definition at line 4468 of file CPTableView.j.
|
implementation |
Reimplemented from CPControl.
Definition at line 4103 of file CPTableView.j.
|
implementation |
Blur notification handler for editing textfields. This will always be called when a textfield loses focus. This method is responsible for restoring the dataview to its non editable state.
Definition at line 3434 of file CPTableView.j.
|
implementation |
Returns the cornerview for the scrollview
Definition at line 1458 of file CPTableView.j.
|
implementation |
Returns the object that provides the data displayed by the receiver.
Reimplemented in CPOutlineView.
Definition at line 474 of file CPTableView.j.
|
implementation |
Reimplemented from CPView.
Definition at line 245 of file CPTableView.j.
|
implementation |
Returns the delegate object for the table view.
Reimplemented in CPOutlineView.
Definition at line 2581 of file CPTableView.j.
|
implementation |
Deselects all rows
Definition at line 1363 of file CPTableView.j.
|
implementation |
Deselects the column at a given index
anIndex | the index of the column to deselect |
Definition at line 1300 of file CPTableView.j.
|
implementation |
Deselects a row at a given index
aRow | the row to deselect |
Definition at line 1313 of file CPTableView.j.
|
implementation |
Synthesized accessor method.
Provided by category CPTableView(CPSynthesizedAccessors).
Definition at line 5108 of file CPTableView.j.
|
implementation |
Returns the double click action selector.
Definition at line 532 of file CPTableView.j.
|
implementation |
Definition at line 4476 of file CPTableView.j.
|
implementation |
Definition at line 4486 of file CPTableView.j.
|
implementation |
Returns the tableview dragging destination feedback style.
Can be:
CPTableViewDraggingDestinationFeedbackStyleNone CPTableViewDraggingDestinationFeedbackStyleRegular CPTableViewDraggingDestinationFeedbackStyleSourceList
Definition at line 2951 of file CPTableView.j.
|
implementation |
Definition at line 4290 of file CPTableView.j.
|
implementation |
Definition at line 4257 of file CPTableView.j.
|
implementation |
Definition at line 4282 of file CPTableView.j.
|
implementation |
Definition at line 4398 of file CPTableView.j.
|
implementation |
Computes and returns an image to use for dragging. This method is invoked ONLY IF dragViewForRowsWithIndexes:tableColumns:event:offset: returns nil.
dragRows | an index set with the dragged row indexes |
theTableColumns | an array of the table columns which are being dragged |
dragEvent | the event which initiated the drag |
offset | a point at which to set the drag image to be offset from the cursor |
Definition at line 2796 of file CPTableView.j.
|
implementation |
Computes and returns a view to use for dragging. By default this is a slightly transparent copy of the dataviews which are being dragged. You can override this in a subclass to show different dragging feedback. Additionally you can return nil from this method and implement:
dragRows | an index set with the dragged row indexes |
theTableColumns | an array of the table columns which are being dragged |
dragEvent | the event which initiated the drag |
offset | a point at which to set the drag image to be offset from the cursor |
Definition at line 2813 of file CPTableView.j.
|
implementation |
Draws the background in a given clip rect. This method should only be overridden if you want something other than a solid color or alternating row colors.
setNeedsDisplay:
Definition at line 3569 of file CPTableView.j.
|
implementation |
Draws the grid for the tableview based on the set grid mask in a given clip rect.
Definition at line 3623 of file CPTableView.j.
|
implementation |
While this method doesn't do anything in Cappuccino, subclasses can override it to customize the appearance of a row.
tableView:willDisplayView:forTableColumn:row
is sent to the delegate before drawing Definition at line 3948 of file CPTableView.j.
|
implementation |
Edits the dataview at a given row and column. This method is usually invoked automatically and should rarely be invoked directly The row at supplied rowIndex must be selected otherwise an exception is thrown.
columnIndex | the index of the column to edit |
rowIndex | the index of the row to edit |
theEvent | the mouse event which triggers the edit, you can pass nil |
flag | YES if the dataview text should be selected, otherwise NO. (NOT YET IMPLEMENTED) |
Definition at line 1415 of file CPTableView.j.
|
implementation |
Returns the column of the currently edited cell, or CPNotFound if none.
Definition at line 1438 of file CPTableView.j.
|
implementation |
Returns the row of the currently edited cell, or CPNotFound if none.
Definition at line 1448 of file CPTableView.j.
|
implementation |
Archives the view to a coder.
aCoder | the object into which the view's data will be archived. |
Reimplemented from CPControl.
Reimplemented in CPOutlineView.
Provided by category CPTableView(CPCoding).
Definition at line 4899 of file CPTableView.j.
|
implementation |
Returns a CGRect of the exposed area of the tableview.
Definition at line 3086 of file CPTableView.j.
|
implementation |
Returns a rect for the dataview / cell at the column and row given. If the column or row index is greater than the number of columns or rows a CGZeroRect is returned
aColumn | index of the column |
aRow | index of the row |
Reimplemented in CPOutlineView.
Definition at line 1836 of file CPTableView.j.
|
implementation |
Returns a CPColor object of set grid color
Definition at line 843 of file CPTableView.j.
|
implementation |
Returns a grid mask
Definition at line 866 of file CPTableView.j.
|
implementation |
Returns the headerview for the receiver. The headerview contains column headerviews for each table column.
Definition at line 1482 of file CPTableView.j.
|
implementation |
Returns the CPTableColumn object of the highlighted table column.
Definition at line 2750 of file CPTableView.j.
|
implementation |
Draws the selection with the set selection highlight style in a given clip rect. You can change the highlight style to a source list style gradient in setSelectionHighlightStyle:
setNeedsDisplay:
Definition at line 3699 of file CPTableView.j.
|
implementation |
Initializes the view from an archive.
aCoder | the coder from which to initialize |
Reimplemented from CPControl.
Reimplemented in CPOutlineView.
Provided by category CPTableView(CPCoding).
Definition at line 4850 of file CPTableView.j.
|
implementation |
Initializes the receiver for usage with the specified bounding rectangle
Reimplemented from CPControl.
Reimplemented in CPOutlineView.
Definition at line 259 of file CPTableView.j.
|
implementation |
Returns the intercell spacing in a CGSize object.
Definition at line 670 of file CPTableView.j.
|
implementation |
Returns YES if the column at a given index is selected, otherwise NO.
anIndex | the index of a column |
Definition at line 1343 of file CPTableView.j.
|
implementation |
Returns YES if the row at a given index is selected, otherwise NO.
aRow | the index of a row |
Definition at line 1354 of file CPTableView.j.
|
implementation |
Reimplemented from CPResponder.
Reimplemented in CPOutlineView.
Definition at line 4619 of file CPTableView.j.
|
implementation |
Reimplemented from CPView.
Definition at line 3957 of file CPTableView.j.
|
implementation |
Loads all the data and dataviews for the receiver.
Reimplemented from CPObject.
Definition at line 3107 of file CPTableView.j.
Reimplemented from CPView.
Definition at line 4072 of file CPTableView.j.
|
implementation |
Moves the column and heading at a given index to a new given index.
theColumnIndex | The current index of the column to move. |
theToIndex | The new index for the moved column. |
Definition at line 993 of file CPTableView.j.
|
implementation |
Informs the receiver that the rows specified in indexSet have changed height.
anIndexSet | an index set containing the indexes of the rows which changed height |
Definition at line 2105 of file CPTableView.j.
|
implementation |
Informs the receiver that the number of records in the datasource has changed.
Definition at line 2067 of file CPTableView.j.
|
implementation |
Returns the number of columns in the table
Definition at line 1372 of file CPTableView.j.
|
implementation |
Returns the number of rows in the receiver.
Definition at line 1380 of file CPTableView.j.
|
implementation |
Returns the number of selected columns
Definition at line 1324 of file CPTableView.j.
|
implementation |
Returns the number of selected columns
Definition at line 1332 of file CPTableView.j.
|
implementation |
Definition at line 4453 of file CPTableView.j.
|
implementation |
Definition at line 4441 of file CPTableView.j.
|
implementation |
Returns a CGRect with the location and size of the column If aColumnIndex lies outside the range of the table columns a CGZeroRect is returned
aColumnIndex | the index of the column to return the rect of |
Definition at line 1571 of file CPTableView.j.
|
implementation |
Returns a CGRect with the location and size of the row. CGRectZero is returned if aRowIndex doesn't exist.
aRowIndex | the index of the row you want the rect of |
Definition at line 1645 of file CPTableView.j.
|
implementation |
Reloads the data for all rows and columns.
Reimplemented in CPOutlineView.
Definition at line 496 of file CPTableView.j.
|
implementation |
Reloads the data for only the specified rows and columns.
rowIndexes | The indexes of the rows to update. |
columnIndexes | The indexes of the columns to update. |
Definition at line 486 of file CPTableView.j.
|
implementation |
Removes a given column from the receiver.
aTableColumn | The column to remove from the receiver. |
Reimplemented in CPOutlineView.
Definition at line 906 of file CPTableView.j.
|
implementation |
Reimplemented from CPView.
Definition at line 1854 of file CPTableView.j.
|
implementation |
Returns the index of a row at a particular point. If no row exists CPNotFound is returned.
aPoint | a CGPoint |
Definition at line 1799 of file CPTableView.j.
|
implementation |
Returns the height of each row.
Definition at line 697 of file CPTableView.j.
|
implementation |
Returns a range of indices for the rows that lie wholly or partially within the vertical boundaries of a given rectangle.
aRect | A rectangle in the coordinate system of the receiver. |
Definition at line 1657 of file CPTableView.j.
|
implementation |
Scrolls the receiver and header view horizontally in an enclosing CPClipView so the column specified by columnIndex is visible.
aColumnIndex | the index of the column to scroll to. |
Definition at line 2190 of file CPTableView.j.
|
implementation |
Scrolls the receiver vertically in an enclosing CPClipView so the row specified by rowIndex is visible.
aRowIndex | the index of the row to scroll to. |
Definition at line 2174 of file CPTableView.j.
|
implementation |
Sets the column selection using indexes.
columns | a CPIndexSet of columns to select |
aFlag | should extend the selection thereby retaining the previous selection |
Definition at line 1077 of file CPTableView.j.
|
implementation |
Returns the index of the last selected column.
Definition at line 1266 of file CPTableView.j.
|
implementation |
Returns an index set of all the selected columns.
Definition at line 1274 of file CPTableView.j.
|
implementation |
Returns the index of the last selected row.
Definition at line 1282 of file CPTableView.j.
|
implementation |
Returns an index set with the indexes of all the selected rows.
Definition at line 1290 of file CPTableView.j.
|
implementation |
Returns a dictionary of containing the keys:
CPSourceListGradient CPSourceListTopLineColor CPSourceListBottomLineColor
Definition at line 824 of file CPTableView.j.
|
implementation |
Returns the highlight color for a row or column selection.
Definition at line 793 of file CPTableView.j.
|
implementation |
Returns an enumerated value for the selection highlight style.
Valid values are:
CPTableViewSelectionHighlightStyleNone CPTableViewSelectionHighlightStyleRegular CPTableViewSelectionHighlightStyleSourceList
Definition at line 751 of file CPTableView.j.
|
implementation |
Sets the row selection using indexes.
rows | a CPIndexSet of rows to select |
aFlag | should extend the selection thereby retaining the previous selection |
Definition at line 1135 of file CPTableView.j.
|
implementation |
If you want to allow the user to reorder the columns pass YES, otherwise NO.
Definition at line 558 of file CPTableView.j.
|
implementation |
Passing YES will allow the user to resize columns. Passing NO will keep the table columns unmovable by the user.
Definition at line 575 of file CPTableView.j.
|
implementation |
Controls whether the user can select an entire column by clicking its header.
aFlag | YES to allow the user to select columns, otherwise NO. |
Definition at line 629 of file CPTableView.j.
|
implementation |
Controls whether the receiver allows zero rows or columns to be selected.
aFlag | YES if an empty selection is allowed, otherwise NO. |
Definition at line 611 of file CPTableView.j.
|
implementation |
Controls whether the user can select more than one row or column at a time.
aFlag | YES to allow the user to select multiple rows or columns, otherwise NO. |
Definition at line 592 of file CPTableView.j.
|
implementation |
Sets the colors for the rows as they alternate. The number of colors can be arbitrary. By default these colors are white and light blue.
anArray | an array of CPColors |
Definition at line 725 of file CPTableView.j.
|
implementation |
Set the name under which the table information is automatically saved to theAutosaveName. The table information is saved separately for each user and for each application that user uses.
setAutosaveTableColumns:
Definition at line 2208 of file CPTableView.j.
|
implementation |
Sets whether the order and width of this table view's columns are automatically saved.
The table information is saved separately for each user and for each application that user uses.
Definition at line 2233 of file CPTableView.j.
|
implementation |
Reimplemented from CPView.
Definition at line 3508 of file CPTableView.j.
|
implementation |
Reimplemented from CPView.
Definition at line 3518 of file CPTableView.j.
|
implementation |
Sets the column autoresizing style of the receiver to a given style.
aStyle | the column autoresizing style for the receiver. Valid values are: CPTableViewNoColumnAutoresizing CPTableViewUniformColumnAutoresizingStyle CPTableViewLastColumnOnlyAutoresizingStyle CPTableViewFirstColumnOnlyAutoresizingStyle |
Definition at line 2017 of file CPTableView.j.
|
implementation |
Sets the cornerview for the scrollview
Definition at line 1466 of file CPTableView.j.
|
implementation |
Sets the receiver's data source to a given object. The data source implements various methods for handling the tableview's data when bindings are not used.
anObject | The data source for the receiver. This object must implement numberOfRowsInTableView: and tableView:objectValueForTableColumn:row: |
These methods are outlined below.
CPTableView generally requires a datasource to run. This data source can be thought of just like a delegate, but specifically for the tableview data. Methods include:
Returns the number of rows in the tableview
Returns the object value for each dataview. Each dataview will be sent a setObjectValue: method which will contain the object you return from this datasource method.
Sets the data object for an item in a given row and column. This needs to be implemented if you want inline editing support
The tableview will call this method if you click the tableheader. You should sort the datasource based off of the new sort descriptors and reload the data
Return the drag operation (move, copy, etc) that should be performed if a registered drag type is over the tableview The data source can retarget a drop if you want by calling
-(void)setDropRow:(int)aRow dropOperation:(CPTableViewDropOperation)anOperation;
Returns YES if the drop operation is allowed otherwise NO. This method is invoked by the tableview after a drag should begin, but before it is started. If you don't want the drag to being return NO. If you want the drag to begin you should return YES and place the drag data on the pboard.
Return YES if the operation was successful otherwise return NO. The data source should incorporate the data from the dragging pasteboard in this method implementation. To get this data use the draggingPasteboard method on the CPDraggingInfo object.
NOT YET IMPLEMENTED
Reimplemented in CPOutlineView.
Definition at line 431 of file CPTableView.j.
|
implementation |
Sets the delegate of the receiver.
aDelegate | the delegate object for the tableview. |
The delegate can provide easy notification for user interaction, display behaviour, contextual menus, and more.
Called when the tableview is about to display a dataview
Group rows are a way to separate a groups of data in a tableview. Return YES if the given row is a group row, otherwise NO.
Return YES if the dataview at a given index and column should be edited, otherwise NO.
Return the height of the row at a given index. Only implement this if you want variable row heights. Otherwise use setRowHeight: on the tableview.
Return YES if the selection of the tableview should change, otherwise NO to keep the current selection.
Return YES if the row at a given index should be selected, other NO to deny the selection.
Return YES if the table column given should be selected, otherwise NO to deny the selection.
Inform the delegate that the tableview is in the process of chaining the selection. This usually happens when the user is dragging their mouse across rows.
Informs the delegate that the tableview selection has changed.
Return YES if the column at a given index should move to a new column index, otherwise NO.
Notifies the delegate that the tableview drag occurred. This is send on mouse up.
Notifies the delegate that a tablecolumn was moved by the user.
Notifies the delegate that the user resized the table column
Sent when the user clicks a table column but doesn't drag.
Notify the delegate that the user click the table header of a column.
Called when the user right clicks on the tableview. -1 is passed for the row or column if the user doesn't right click on a real row or column Return a CPMenu that should be displayed if the user right clicks. If you do not implement this the tableview will just call super on menuForEvent
Called when the user presses the delete key. Many times you will want to delete data (or prompt for deletion) when the user hids the delete key. Your delegate can implement this method to avoid subclassing the tableview to add this behaviour.
Reimplemented in CPOutlineView.
Definition at line 2455 of file CPTableView.j.
|
implementation |
Synthesized accessor method.
Provided by category CPTableView(CPSynthesizedAccessors).
Definition at line 5116 of file CPTableView.j.
|
implementation |
Sets the message sent to the target when the user double-clicks an uneditable cell or a column header to a given selector.
aSelector | The message the receiver sends to its target when the user double-clicks an uneditable cell or a column header. |
Definition at line 524 of file CPTableView.j.
|
implementation |
Sets the feedback style for when the table is the destination of a drag operation. This style is used to determine how the tableview looks when it is the receiver of a drag and drop operation.
Can be:
CPTableViewDraggingDestinationFeedbackStyleNone CPTableViewDraggingDestinationFeedbackStyleRegular CPTableViewDraggingDestinationFeedbackStyleSourceList
Definition at line 2935 of file CPTableView.j.
|
implementation |
Sets the default operation mask for the drag behavior of the table view.
Definition at line 2897 of file CPTableView.j.
|
implementation |
This should be called inside tableView:validateDrop:... method either CPTableViewDropOn or CPTableViewDropAbove, Specify the row as -1 to select the whole table for drop on.
Definition at line 2908 of file CPTableView.j.
|
implementation |
Reimplemented from CPView.
Definition at line 3498 of file CPTableView.j.
|
implementation |
we override here because we have to adjust the header
Reimplemented from CPView.
Definition at line 3485 of file CPTableView.j.
|
implementation |
Sets the grid color in the non highlighted state.
aColor | a CPColor |
Definition at line 833 of file CPTableView.j.
|
implementation |
Sets the grid style mask to specify if no grid lines, vertical grid lines, or horizontal grid lines should be displayed.
gridType | The grid style mask. CPTableViewGridNone, CPTableViewSolidVerticalGridLineMask, CPTableViewSolidHorizontalGridLineMask |
Definition at line 853 of file CPTableView.j.
|
implementation |
Sets the headerview for the tableview. This is the container view for the table column header views. This view also handles events for resizing and dragging.
If you don't want your tableview to have a headerview you should pass nil. (also see setCornerView:) If you're looking to customize the header text of a column see CPTableColumn's -(CPView)headerView; method.
Definition at line 1495 of file CPTableView.j.
|
implementation |
Sets the table column for which the header should be highlighted.
Definition at line 2758 of file CPTableView.j.
|
implementation |
Sets the indicator image of aTableColumn to anImage. The tableview will set the sort indicator images automatically; if you want a different image you can supply it here.
anImage | the image for the column |
aTableColumn | the table column object for which to set the image |
Definition at line 2721 of file CPTableView.j.
|
implementation |
Sets the width and height between dataviews. This value is (3.0, 2.0) by default.
aSize | a CGSize object that defines the space between the cells |
Definition at line 650 of file CPTableView.j.
|
implementation |
Reimplemented from CPView.
Definition at line 3528 of file CPTableView.j.
|
implementation |
Reimplemented from CPView.
Definition at line 3539 of file CPTableView.j.
|
implementation |
Sets the height of each row.
aRowHeight | the height of each row |
Definition at line 681 of file CPTableView.j.
|
implementation |
Sets the highlight gradient for a row or column selection This is specific to the
aDictionary | a CPDictionary expects three keys to be set: CPSourceListGradient which is a CGGradient CPSourceListTopLineColor which is a CPColor CPSourceListBottomLineColor which is a CPColor |
Definition at line 809 of file CPTableView.j.
|
implementation |
Sets the highlight color for a row or column selection.
aColor | a CPColor |
Definition at line 783 of file CPTableView.j.
|
implementation |
Sets the selection highlight style to an enumerated value. This value can also affect the way the tableview draws feedback when the user is dragging.
Valid values are:
CPTableViewSelectionHighlightStyleNone CPTableViewSelectionHighlightStyleRegular CPTableViewSelectionHighlightStyleSourceList
Definition at line 767 of file CPTableView.j.
|
implementation |
Sets the table view's CPSortDescriptors objects in an array.
sortDescriptors | an array of sort descriptors. |
Definition at line 3001 of file CPTableView.j.
|
implementation |
Sets whether the receiver uses the standard alternating row colors for its background.
aFlag | YES to specify standard alternating row colors for the background, NO to specify a solid color. |
Definition at line 707 of file CPTableView.j.
|
implementation |
Sets whether vertical motion is treated as a drag or selection change to flag.
aFlag | if flag is NO then vertical motion will not start a drag. The default is YES. |
Definition at line 2961 of file CPTableView.j.
|
implementation |
Resizes the last column if there's room so the receiver fits exactly within its enclosing clip view.
Definition at line 2034 of file CPTableView.j.
|
implementation |
Returns an array of the current sort descriptors currently used by the table.
Definition at line 3044 of file CPTableView.j.
|
implementation |
Reimplemented from CPControl.
Definition at line 4034 of file CPTableView.j.
|
implementation |
Reimplemented from CPControl.
Definition at line 4186 of file CPTableView.j.
|
implementation |
Definition at line 4005 of file CPTableView.j.
|
implementation |
Definition at line 4016 of file CPTableView.j.
|
implementation |
Returns an array of CPTableColumns of all the receiver's columns.
Definition at line 1022 of file CPTableView.j.
|
implementation |
Returns the CPTableColumn object with the given identifier string.
anIdentifier | the string value of the identifier |
Definition at line 1051 of file CPTableView.j.
|
implementation |
Reimplemented from CPControl.
Definition at line 253 of file CPTableView.j.
|
implementation |
Lays out the dataviews and resizes the tableview so that everything fits.
Definition at line 2131 of file CPTableView.j.
|
implementation |
Reimplemented from CPControl.
Definition at line 4088 of file CPTableView.j.
|
implementation |
Returns YES if the receiver tracks the mouse outside the frame, otherwise NO.
Reimplemented from CPControl.
Definition at line 4026 of file CPTableView.j.
|
implementation |
Returns YES if the tableview uses alternating row background colors, otherwise NO.
Definition at line 715 of file CPTableView.j.
|
implementation |
Returns YES if vertical motion can begin a drag of the tableview, otherwise NO.
Definition at line 2969 of file CPTableView.j.
|
implementation |
Reimplemented from CPView.
Definition at line 3965 of file CPTableView.j.
|
implementation |
Definition at line 4309 of file CPTableView.j.