CPCollectionViewItem Class Reference

List of all members.

Public Member Functions

(void) - setRepresentedObject: [implementation]
(id) - representedObject [implementation]
(void) - setView: [implementation]
(CPView- view [implementation]
(void) - setSelected: [implementation]
(BOOL) - isSelected [implementation]
(CPCollectionView- collectionView [implementation]
(id) - copy [implementation]
(id) - initWithCoder: [implementation]
(void) - encodeWithCoder: [implementation]


Detailed Description

Represents an object inside a CPCollectionView.

Definition at line 633 of file CPCollectionView.j.


Member Function Documentation

- (CPCollectionView) collectionView   [implementation]

Returns the collection view of which this item is a part.

Definition at line 712 of file CPCollectionView.j.

- (id) copy   [implementation]

Definition at line 769 of file CPCollectionView.j.

- (void) encodeWithCoder: (CPCoder aCoder   [implementation]

Archives the colletion view item to the provided coder.

Parameters:
aCoder the coder to which the view item should be archived

Definition at line 799 of file CPCollectionView.j.

- (id) initWithCoder: (CPCoder aCoder   [implementation]

Initializes the view item by unarchiving data from a coder.

Parameters:
aCoder the coder from which the data will be unarchived
Returns:
the initialized collection view item

Definition at line 785 of file CPCollectionView.j.

- (BOOL) isSelected   [implementation]

Returns YES if the item is currently selected. NO if the item is not selected.

Definition at line 703 of file CPCollectionView.j.

- (id) representedObject   [implementation]

Returns the object represented by this view item

Definition at line 661 of file CPCollectionView.j.

- (void) setRepresentedObject: (id)  anObject   [implementation]

Sets the object to be represented by this item.

Parameters:
anObject the object to be represented

Definition at line 647 of file CPCollectionView.j.

- (void) setSelected: (BOOL)  shouldBeSelected   [implementation]

Sets whether this view item should be selected.

Parameters:
shouldBeSelected YES makes the item selected. NO deselects it.

Definition at line 689 of file CPCollectionView.j.

- (void) setView: (CPView aView   [implementation]

Sets the view that is used represent this object.

Parameters:
aView the view used to represent this object

Definition at line 671 of file CPCollectionView.j.

- (CPView) view   [implementation]

Returns the view that represents this object.

Definition at line 679 of file CPCollectionView.j.


The documentation for this class was generated from the following file:

Generated on Wed May 20 12:44:00 2009 for Cappuccino by  doxygen 1.5.8