API  0.9.7
 All Classes Files Functions Variables Macros Groups Pages
CPCollectionView.h
Go to the documentation of this file.
1 
2 @interface CPCollectionView : CPView
3 {
4  CPArray _content;
5  CPArray _items;
6 
7  CPData _itemData;
8  CPCollectionViewItem _itemPrototype;
9  CPCollectionViewItem _itemForDragging;
10  CPMutableArray _cachedItems;
11 
12  unsigned _maxNumberOfRows;
13  unsigned _maxNumberOfColumns;
14 
15  CGSize _minItemSize;
16  CGSize _maxItemSize;
17 
18  CPArray _backgroundColors;
19 
20  float _tileWidth;
21 
22  BOOL _isSelectable;
23  BOOL _allowsMultipleSelection;
24  BOOL _allowsEmptySelection;
25  CPIndexSet _selectionIndexes;
26 
27  CGSize _itemSize;
28 
29  float _horizontalMargin;
30  float _verticalMargin;
31 
32  unsigned _numberOfRows;
33  unsigned _numberOfColumns;
34 
35  id _delegate;
36 
37  CPEvent _mouseDownEvent;
38 
39  BOOL _needsMinMaxItemSizeUpdate;
40  CGSize _storedFrameSize;
41 
42  BOOL _uniformSubviewsResizing // @accessors(property=uniformSubviewsResizing);
43  BOOL _lockResizing;
44 
45  CPInteger _currentDropIndex;
46  CPDragOperation _currentDragOperation;
47 
48  _CPCollectionViewDropIndicator _dropView;
49 }
50 @end