API  0.9.6
 All Classes Files Functions Variables Macros Modules Pages
CPCollectionViewItem Class Reference

#import <CPCollectionViewItem.h>

+ Inheritance diagram for CPCollectionViewItem:

Instance Methods

(CPCollectionView- collectionView
 
(BOOL) - isSelected
 
(void) - setRepresentedObject:
 
(void) - setSelected:
 
- Instance Methods inherited from CPViewController
(BOOL) - automaticallyNotifiesObserversOfIsViewLoaded
 
(CPBundle- cibBundle
 
(CPDictionary- cibExternalNameTable
 
(CPString- cibName
 
(void) - encodeWithCoder:
 
(id) - init
 
(id) - initWithCibName:bundle:
 
(id) - initWithCibName:bundle:externalNameTable:
 
(id) - initWithCibName:bundle:owner:
 
(id) - initWithCoder:
 
(BOOL) - isViewLoaded
 
(void) - loadView
 
(id) - representedObject
 
(void) - setTitle:
 
(void) - setView:
 
(CPString- title
 
(CPView- view
 
(void) - viewDidLoad
 
- Instance Methods inherited from CPResponder
(BOOL) - acceptsFirstResponder
 
(BOOL) - becomeFirstResponder
 
(void) - doCommandBySelector:
 
(void) - flagsChanged:
 
(void) - insertBackTab:
 
(void) - insertLineBreak:
 
(void) - insertNewline:
 
(void) - insertTab:
 
(void) - insertText:
 
(void) - interpretKeyEvents:
 
(void) - keyDown:
 
(void) - keyUp:
 
(CPMenu- menu
 
(void) - mouseDown:
 
(void) - mouseDragged:
 
(void) - mouseEntered:
 
(void) - mouseExited:
 
(void) - mouseMoved:
 
(void) - mouseUp:
 
(CPResponder- nextResponder
 
(void) - noResponderFor:
 
(BOOL) - performKeyEquivalent:
 
(BOOL) - resignFirstResponder
 
(void) - rightMouseDown:
 
(void) - rightMouseUp:
 
(void) - scrollWheel:
 
(void) - setMenu:
 
(void) - setNextResponder:
 
(BOOL) - tryToPerform:with:
 
(CPUndoManager- undoManager
 
- Instance Methods inherited from CPObject
(void) - addObserver:forKeyPath:options:context:
 
(void) - applyChange:toKeyPath:
 
(id) - autorelease
 
(id) - awakeAfterUsingCoder:
 
(void) - awakeFromCib
 
(void) - bind:toObject:withKeyPath:options:
 
(Class) - classForCoder
 
(Class) - classForKeyedArchiver
 
(CPString- className
 
(id) - copy
 
(void) - dealloc
 
(CPString- description
 
(CPDictionary- dictionaryWithValuesForKeys:
 
(void) - didChange:valuesAtIndexes:forKey:
 
(void) - didChangeValueForKey:
 
(void) - didChangeValueForKey:withSetMutation:usingObjects:
 
(void) - doesNotRecognizeSelector:
 
(CPArray- exposedBindings
 
(id) - forwardingTargetForSelector:
 
(void) - forwardInvocation:
 
(unsigned) - hash
 
(BOOL) - implementsSelector:
 
(CPDictionary- infoForBinding:
 
(BOOL) - isEqual:
 
(BOOL) - isKindOfClass:
 
(BOOL) - isMemberOfClass:
 
(BOOL) - isProxy
 
(IMP) - methodForSelector:
 
(CPMethodSignature) - methodSignatureForSelector:
 
(id) - mutableArrayValueForKey:
 
(id) - mutableArrayValueForKeyPath:
 
(id) - mutableCopy
 
(id) - mutableSetValueForKey:
 
(id) - mutableSetValueForKeyPath:
 
(id) - performSelector:
 
(id) - performSelector:withObject:
 
(id) - performSelector:withObject:withObject:
 
(id) - performSelector:withObjects:
 
(void) - release
 
(void) - removeObserver:forKeyPath:
 
(id) - replacementObjectForArchiver:
 
(id) - replacementObjectForCoder:
 
(id) - replacementObjectForKeyedArchiver:
 
(BOOL) - respondsToSelector:
 
(id) - retain
 
(id) - self
 
(void) - setValue:forKey:
 
(void) - setValue:forKeyPath:
 
(void) - setValue:forUndefinedKey:
 
(void) - setValuesForKeysWithDictionary:
 
(CPString- UID
 
(void) - unbind:
 
(Class) - valueClassForBinding:
 
(id) - valueForKey:
 
(id) - valueForKeyPath:
 
(id) - valueForUndefinedKey:
 
(void) - willChange:valuesAtIndexes:forKey:
 
(void) - willChangeValueForKey:
 
(void) - willChangeValueForKey:withSetMutation:usingObjects:
 

Additional Inherited Members

- Class Methods inherited from CPViewController
(void) + initialize
 
- Class Methods inherited from CPObject
(BOOL) + accessInstanceVariablesDirectly
 
(id) + alloc
 
(id) + allocWithCoder:
 
(BOOL) + automaticallyNotifiesObserversForKey:
 
(Class) + class
 
(void) + exposeBinding:
 
(IMP) + instanceMethodForSelector:
 
(BOOL) + instancesRespondToSelector:
 
(BOOL) + isSubclassOfClass:
 
(CPSet+ keyPathsForValuesAffectingValueForKey:
 
(void) + load
 
(id) + new
 
(void) + setVersion:
 
(Class) + superclass
 
(int) + version
 
- Instance Variables inherited from CPObject
Class isa
 

Detailed Description

Represents an object inside a CPCollectionView.

Definition at line 2 of file CPCollectionViewItem.h.

Method Documentation

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

Parameters
anObjectthe object to be represented

Reimplemented from CPViewController.

Definition at line 38 of file CPCollectionViewItem.j.

- (void) setSelected: (BOOL)  shouldBeSelected
implementation

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: