Public Member Functions | |
(BOOL _disableResizingPosting) | - accessors [implementation] |
(CPView) | - dataCell [implementation] |
(id) | - dataCellForRow: [implementation] |
(CPView) | - dataView [implementation] |
(id) | - dataViewForRow: [implementation] |
(void) | - encodeWithCoder: [implementation] |
(CPView) | - headerCell [implementation] |
(CPString) | - headerToolTip [implementation] |
(CPView) | - headerView [implementation] |
(id) | - identifier [implementation] |
(id) | - init [implementation] |
(id) | - initWithCoder: [implementation] |
(id) | - initWithIdentifier: [implementation] |
(BOOL) | - isEditable [implementation] |
(BOOL) | - isHidden [implementation] |
(float) | - maxWidth [implementation] |
(float) | - minWidth [implementation] |
(unsigned) | - resizingMask [implementation] |
(void) | - setDataCell: [implementation] |
(void) | - setDataView: [implementation] |
(void) | - setEditable: [implementation] |
(void) | - setHeaderCell: [implementation] |
(void) | - setHeaderToolTip: [implementation] |
(void) | - setHeaderView: [implementation] |
(void) | - setHidden: [implementation] |
(void) | - setIdentifier: [implementation] |
(void) | - setMaxWidth: [implementation] |
(void) | - setMinWidth: [implementation] |
(void) | - setResizingMask: [implementation] |
(void) | - setSortDescriptorPrototype: [implementation] |
(void) | - setTableView: [implementation] |
(void) | - setWidth: [implementation] |
(void) | - sizeToFit [implementation] |
(CPSortDescriptor) | - sortDescriptorPrototype [implementation] |
(CPTableView) | - tableView [implementation] |
(float) | - width [implementation] |
Definition at line 36 of file CPTableColumn.j.
- (BOOL _disableResizingPosting) accessors | (property) | = disableResizingPosting |
[implementation] |
- (CPView) dataCell | [implementation] |
Definition at line 454 of file CPTableColumn.j.
- (id) dataCellForRow: | (int) | row | [implementation] |
Definition at line 460 of file CPTableColumn.j.
- (CPView) dataView | [implementation] |
Definition at line 261 of file CPTableColumn.j.
- (id) dataViewForRow: | (int) | aRowIndex | [implementation] |
Definition at line 274 of file CPTableColumn.j.
- (void) encodeWithCoder: | (CPCoder) | aCoder | [implementation] |
Definition at line 418 of file CPTableColumn.j.
- (CPView) headerCell | [implementation] |
Definition at line 442 of file CPTableColumn.j.
- (CPString) headerToolTip | [implementation] |
Definition at line 370 of file CPTableColumn.j.
- (CPView) headerView | [implementation] |
Definition at line 228 of file CPTableColumn.j.
- (id) identifier | [implementation] |
Definition at line 312 of file CPTableColumn.j.
- (id) init | [implementation] |
Definition at line 57 of file CPTableColumn.j.
- (id) initWithCoder: | (CPCoder) | aCoder | [implementation] |
Definition at line 395 of file CPTableColumn.j.
- (id) initWithIdentifier: | (id) | anIdentifier | [implementation] |
Definition at line 62 of file CPTableColumn.j.
- (BOOL) isEditable | [implementation] |
Definition at line 331 of file CPTableColumn.j.
- (BOOL) isHidden | [implementation] |
Definition at line 354 of file CPTableColumn.j.
- (float) maxWidth | [implementation] |
Definition at line 186 of file CPTableColumn.j.
- (float) minWidth | [implementation] |
Definition at line 165 of file CPTableColumn.j.
- (unsigned) resizingMask | [implementation] |
Definition at line 196 of file CPTableColumn.j.
- (void) setDataCell: | (CPView) | aView | [implementation] |
Definition at line 448 of file CPTableColumn.j.
- (void) setDataView: | (CPView) | aView | [implementation] |
This method set's the "prototype" view which will be used to create all table cells in this column.
It creates a snapshot of aView, using keyed archiving, which is then copied over and over for each individual cell that is shown. As a result, changes made after calling this method won't be reflected.
Example:
[tableColumn setDataView:someView]; // snapshot taken [[tableColumn dataView] setSomething:x]; //won't work
This doesn't work because the snapshot is taken before the new property is applied. Instead, do:
[someView setSomething:x]; [tableColumn setDataView:someView];
Definition at line 249 of file CPTableColumn.j.
- (void) setEditable: | (BOOL) | shouldBeEditable | [implementation] |
Definition at line 322 of file CPTableColumn.j.
- (void) setHeaderCell: | (CPView) | aView | [implementation] |
Definition at line 436 of file CPTableColumn.j.
- (void) setHeaderToolTip: | (CPString) | aToolTip | [implementation] |
Definition at line 365 of file CPTableColumn.j.
- (void) setHeaderView: | (CPView) | aView | [implementation] |
Definition at line 215 of file CPTableColumn.j.
- (void) setHidden: | (BOOL) | shouldBeHidden | [implementation] |
Definition at line 349 of file CPTableColumn.j.
- (void) setIdentifier: | (id) | anIdentifier | [implementation] |
Definition at line 304 of file CPTableColumn.j.
- (void) setMaxWidth: | (float) | aMaxWidth | [implementation] |
Definition at line 170 of file CPTableColumn.j.
- (void) setMinWidth: | (float) | aMinWidth | [implementation] |
Definition at line 149 of file CPTableColumn.j.
- (void) setResizingMask: | (unsigned) | aResizingMask | [implementation] |
Definition at line 191 of file CPTableColumn.j.
- (void) setSortDescriptorPrototype: | (CPSortDescriptor) | aSortDescriptor | [implementation] |
Definition at line 337 of file CPTableColumn.j.
- (void) setTableView: | (CPTableView) | aTableView | [implementation] |
Definition at line 94 of file CPTableColumn.j.
- (void) setWidth: | (float) | aWidth | [implementation] |
Definition at line 104 of file CPTableColumn.j.
- (void) sizeToFit | [implementation] |
Definition at line 201 of file CPTableColumn.j.
- (CPSortDescriptor) sortDescriptorPrototype | [implementation] |
Definition at line 342 of file CPTableColumn.j.
- (CPTableView) tableView | [implementation] |
Definition at line 99 of file CPTableColumn.j.
- (float) width | [implementation] |
Definition at line 144 of file CPTableColumn.j.