API  1.0.0
CPCollectionViewItem Class Reference

#import <CPCollectionViewItem.h>

+ Inheritance diagram for CPCollectionViewItem:

Instance Methods

(CPCollectionView- collectionView
 
(id) - copy
 
(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
 
(void) - loadViewWithCompletionHandler:
 
(id) - representedObject
 
(void) - setTitle:
 
(void) - setView:
 
(CPString- title
 
(CPView- view
 
(void) - viewDidAppear
 
(void) - viewDidDisappear
 
(void) - viewDidLoad
 
(void) - viewWillAppear
 
(void) - viewWillDisappear
 
- Instance Methods inherited from CPResponder
(BOOL) - acceptsFirstResponder
 
(BOOL) - becomeFirstResponder
 
(void) - cursorUpdate:
 
(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
 
(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:
 
(void) - performSelector:withObject:afterDelay:
 
(void) - performSelector:withObject:afterDelay:inModes:
 
(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:
 
(void) + cancelPreviousPerformRequestsWithTarget:
 
(void) + cancelPreviousPerformRequestsWithTarget:selector:object:
 
(Class) + class
 
(BOOL) + conformsToProtocol:
 
(void) + exposeBinding:
 
(IMP) + instanceMethodForSelector:
 
(BOOL) + instancesImplementSelector:
 
(BOOL) + instancesRespondToSelector:
 
(BOOL) + isBindingExclusive:
 
(BOOL) + isSubclassOfClass:
 
(CPSet) + keyPathsForValuesAffectingValueForKey:
 
(void) + load
 
(id) + new
 
(void) + object:performSelector:withObject:afterDelay:inModes:
 
(void) + setVersion:
 
(Class) + superclass
 
(int) + version
 

Detailed Description

Represents an object inside a CPCollectionView.

Definition at line 2 of file CPCollectionViewItem.h.

Method Documentation

◆ collectionView()

- (CPCollectionView) collectionView
implementation

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

Definition at line 105 of file CPCollectionViewItem.j.

◆ copy()

- (id) copy
implementation

Makes a deep copy of the receiver. The copy should be functionally equivalent to the receiver.

Returns
the copy of the receiver

Reimplemented from CPObject.

Definition at line 33 of file CPCollectionViewItem.j.

◆ isSelected()

- (BOOL) isSelected
implementation

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

Definition at line 96 of file CPCollectionViewItem.j.

◆ setRepresentedObject:()

- (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 63 of file CPCollectionViewItem.j.

◆ setSelected:()

- (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 78 of file CPCollectionViewItem.j.


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