Public Member Functions | |
(CPCollectionView) | - collectionView [implementation] |
(BOOL) | - isSelected [implementation] |
(void) | - setRepresentedObject: [implementation] |
(void) | - setSelected: [implementation] |
Represents an object inside a CPCollectionView.
Definition at line 28 of file CPCollectionViewItem.j.
- (CPCollectionView) collectionView | [implementation] |
Returns the collection view of which this item is a part.
Definition at line 80 of file CPCollectionViewItem.j.
- (BOOL) isSelected | [implementation] |
Returns YES
if the item is currently selected. NO
if the item is not selected.
Definition at line 71 of file CPCollectionViewItem.j.
- (void) setRepresentedObject: | (id) | anObject | [implementation] |
Sets the object to be represented by this item.
anObject | the object to be represented |
Definition at line 38 of file CPCollectionViewItem.j.
- (void) setSelected: | (BOOL) | shouldBeSelected | [implementation] |
Sets whether this view item should be selected.
shouldBeSelected | YES makes the item selected. NO deselects it. |
Definition at line 53 of file CPCollectionViewItem.j.