Inherits from | |
Conforms to | |
Framework | /System/Library/Frameworks/AppKit.framework |
Availability | Available in Mac OS X v10.5 and later. |
Declared in | NSCollectionView.h |
NSCollectionViewItem
is a controller that manages the relationship between a compound view and the model object that provides its content.
Returns the receiver’s collection view.
- (NSCollectionView *)collectionView
The receiver’s collection view.
NSCollectionView.h
Returns the selection state of the receiver.
- (BOOL)isSelected
YES
if the receiver is selected, otherwise NO
.
NSCollectionView.h
Returns the receiver’s represented object.
- (id)representedObject
The receiver’s represented object.
NSCollectionView.h
Sets the receiver’s represented object to the specified model object.
- (void)setRepresentedObject:(id)object
The receiver’s model object.
NSCollectionView.h
Sets the selection state of the receiver.
- (void)setSelected:(BOOL)flag
YES
if the receiver is selected, otherwise NO
.
NSCollectionView.h
Sets the view the receiver uses to display its represented object.
- (void)setView:(NSView *)view
The view that is used to display the receiver’s represented object.
NSCollectionView.h
Returns the view the receiver uses to display its represented object.
- (NSView *)view
The view the receiver uses to display its represented object.
NSCollectionView.h
© 2006 Apple Computer, Inc. All Rights Reserved. (Last updated: 2006-12-28)