API 0.9.5
CPCollectionViewItem Class Reference

#import <CPCollectionViewItem.h>

Inheritance diagram for CPCollectionViewItem:

List of all members.

Instance Methods

(CPCollectionView- collectionView
(BOOL) - isSelected
(void) - setRepresentedObject:
(void) - setSelected:

Detailed Description

Represents an object inside a CPCollectionView.

Definition at line 2 of file CPCollectionViewItem.h.


Method Documentation

- (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.

Parameters:
anObjectthe 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.

Parameters:
shouldBeSelectedYES makes the item selected. NO deselects it.

Definition at line 53 of file CPCollectionViewItem.j.


The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Defines