API  0.9.6
 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 
25  //Configuring Behavior
26  BOOL _allowsColumnReordering;
27  BOOL _allowsColumnResizing;
28  BOOL _allowsColumnSelection;
29  BOOL _allowsMultipleSelection;
30  BOOL _allowsEmptySelection;
31 
32  CPArray _sortDescriptors;
33 
34  //Setting Display Attributes
35  CGSize _intercellSpacing;
36  float _rowHeight;
37 
38  BOOL _usesAlternatingRowBackgroundColors;
39  CPArray _alternatingRowBackgroundColors;
40 
41  unsigned _selectionHighlightStyle;
42  CPTableColumn _currentHighlightedTableColumn;
43  unsigned _gridStyleMask;
44 
45  unsigned _numberOfRows;
46  CPIndexSet _groupRows;
47 
48  CPArray _cachedRowHeights;
49 
50  // Persistence
51  CPString _autosaveName;
52  BOOL _autosaveTableColumns;
53 
54  CPTableHeaderView _headerView;
55  _CPCornerView _cornerView;
56 
57  CPIndexSet _selectedColumnIndexes;
58  CPIndexSet _selectedRowIndexes;
59  CPInteger _selectionAnchorRow;
60  CPInteger _lastSelectedRow;
61  CPIndexSet _previouslySelectedRowIndexes;
62  CGPoint _startTrackingPoint;
63  CPDate _startTrackingTimestamp;
64  BOOL _trackingPointMovedOutOfClickSlop;
65  CGPoint _editingCellIndex;
66 
67  _CPTableDrawView _tableDrawView;
68 
69  SEL _doubleAction;
70  CPInteger _clickedRow;
71  CPInteger _clickedColumn;
72  unsigned _columnAutoResizingStyle;
73 
74  int _lastTrackedRowIndex;
75  CGPoint _originalMouseDownPoint;
76  BOOL _verticalMotionCanDrag;
77  unsigned _destinationDragStyle;
78  BOOL _isSelectingSession;
79  CPIndexSet _draggedRowIndexes;
80  BOOL _wasSelectionBroken;
81 
82  _CPDropOperationDrawingView _dropOperationFeedbackView;
83  CPDragOperation _dragOperationDefaultMask;
84  int _retargetedDropRow;
85  CPDragOperation _retargetedDropOperation;
86 
87  BOOL _disableAutomaticResizing // @accessors(property=disableAutomaticResizing);
88  BOOL _lastColumnShouldSnap;
89  BOOL _implementsCustomDrawRow;
90  BOOL _contentBindingExpicitelySet;
91 
92  CPTableColumn _draggedColumn;
93  CPArray _differedColumnDataToRemove;
94 }
95 @end