API  0.9.7
 All Classes Files Functions Variables Macros Groups Pages
CPTableView.h
Go to the documentation of this file.
1 
2 @interface CPTableView : CPControl
3 {
4  id _dataSource;
5  CPInteger _implementedDataSourceMethods;
6 
7  id _delegate;
8  CPInteger _implementedDelegateMethods;
9 
10  CPArray _tableColumns;
11  CPArray _tableColumnRanges;
12  CPInteger _dirtyTableColumnRangeIndex;
13  CPInteger _numberOfHiddenColumns;
14 
15  BOOL _reloadAllRows;
16  Object _objectValues;
17 
18  CGRect _exposedRect;
19  CPIndexSet _exposedRows;
20  CPIndexSet _exposedColumns;
21 
22  Object _dataViewsForTableColumns;
23  Object _cachedDataViews;
24  CPDictionary _archivedDataViews;
25  Object _unavailable_custom_cibs;
26 
27  //Configuring Behavior
28  BOOL _allowsColumnReordering;
29  BOOL _allowsColumnResizing;
30  BOOL _allowsColumnSelection;
31  BOOL _allowsMultipleSelection;
32  BOOL _allowsEmptySelection;
33 
34  CPArray _sortDescriptors;
35 
36  //Setting Display Attributes
37  CGSize _intercellSpacing;
38  float _rowHeight;
39 
40  BOOL _usesAlternatingRowBackgroundColors;
41  CPArray _alternatingRowBackgroundColors;
42 
43  unsigned _selectionHighlightStyle;
44  CPColor _unfocusedSelectionHighlightColor;
45  CPDictionary _unfocusedSourceListSelectionColor;
46  CPTableColumn _currentHighlightedTableColumn;
47  unsigned _gridStyleMask;
48 
49  unsigned _numberOfRows;
50  CPIndexSet _groupRows;
51 
52  CPArray _cachedRowHeights;
53 
54  // Persistence
55  CPString _autosaveName;
56  BOOL _autosaveTableColumns;
57 
58  CPTableHeaderView _headerView;
59  _CPCornerView _cornerView;
60 
61  CPIndexSet _selectedColumnIndexes;
62  CPIndexSet _selectedRowIndexes;
63  CPInteger _selectionAnchorRow;
64  CPInteger _lastSelectedRow;
65  CPIndexSet _previouslySelectedRowIndexes;
66  CGPoint _startTrackingPoint;
67  CPDate _startTrackingTimestamp;
68  BOOL _trackingPointMovedOutOfClickSlop;
69  CGPoint _editingCellIndex;
70  CPInteger _editingRow;
71  CPInteger _editingColumn;
72 
73  _CPTableDrawView _tableDrawView;
74 
75  SEL _doubleAction;
76  CPInteger _clickedRow;
77  CPInteger _clickedColumn;
78  unsigned _columnAutoResizingStyle;
79 
80  int _lastTrackedRowIndex;
81  CGPoint _originalMouseDownPoint;
82  BOOL _verticalMotionCanDrag;
83  unsigned _destinationDragStyle;
84  BOOL _isSelectingSession;
85  CPIndexSet _draggedRowIndexes;
86  BOOL _wasSelectionBroken;
87 
88  _CPDropOperationDrawingView _dropOperationFeedbackView;
89  CPDragOperation _dragOperationDefaultMask;
90  int _retargetedDropRow;
91  CPDragOperation _retargetedDropOperation;
92  CPArray _draggingViews;
93 
94  BOOL _disableAutomaticResizing // @accessors(property=disableAutomaticResizing);
95  BOOL _lastColumnShouldSnap;
96  BOOL _implementsCustomDrawRow;
97  BOOL _isViewBased;
98  BOOL _contentBindingExplicitlySet;
99 
100  SEL _viewForTableColumnRowSelector;
101 
102  CPTableColumn _draggedColumn;
103  CPArray _differedColumnDataToRemove;
104 }
105 @end