![]() |
API 0.9.5
|
#import <CPCollectionViewItem.h>
Inheritance diagram for CPCollectionViewItem:Instance Methods | |
| (CPCollectionView) | - collectionView |
| (BOOL) | - isSelected |
| (void) | - setRepresentedObject: |
| (void) | - setSelected: |
Represents an object inside a CPCollectionView.
Definition at line 2 of file CPCollectionViewItem.h.
| - (CPCollectionView) collectionView |
Returns the collection view of which this item is a part.
Definition at line 80 of file CPCollectionViewItem.j.
| - (BOOL) isSelected |
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 |
Sets the object to be represented by this item.
| anObject | the object to be represented |
Reimplemented from CPViewController.
Definition at line 38 of file CPCollectionViewItem.j.
| - (void) setSelected: | (BOOL) | shouldBeSelected |
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.