_delegate;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSUInteger _draggingOnIndex;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSUInteger _draggingOnRow;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSDragOperation _draggingSourceOperationMaskForLocal;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSDragOperation _draggingSourceOperationMaskForRemote;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected CGFloat _horizontalMargin;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSMutableSet* _indexPathsForSupplementaryElementsOfKind;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSMapTable* _indexPathsToItems;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected BOOL _isSelectable;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSSize _itemSize;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSMutableArray* _items;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSMapTable* _itemsToAttributes;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSMapTable* _itemsToIndexPaths;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSSize _maxItemSize;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSUInteger _maxNumberOfColumns;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSUInteger _maxNumberOfRows;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSSize _minItemSize;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSUInteger _numberOfColumns;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected id _prefetchDataSource;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSMapTable* _registeredClasses;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSMapTable* _registeredNibs;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSSet* _selectionIndexPaths;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSIndexSet* _selectionIndexes;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected CGFloat _tileWidth;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected CGFloat _verticalMargin;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSMutableArray* _visibleItems;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSMutableDictionary* _visibleSupplementaryViews;
Availability: OpenStep
Warning the underscore at the start of the
name of this instance variable indicates that, even
though it is not technically private, it is
intended for internal use within the package, and
you should not use the variable in other code.
@protected NSCollectionViewItem* itemPrototype;
Availability: OpenStep
Description forthcoming.
- Declared in:
- AppKit/NSCollectionView.h
- Conforms to:
- NSObject
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
Method summary
- (
NSCollectionViewItem*)
collectionView: (
NSCollectionView*)collectionView
itemForRepresentedObjectAtIndexPath: (NSIndexPath*)indexPath;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSInteger)
collectionView: (
NSCollectionView*)collectionView
numberOfItemsInSection: (NSInteger)section;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSInteger)
numberOfSectionsInCollectionView: (
NSCollectionView*)collectionView;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- Declared in:
- AppKit/NSCollectionView.h
- Conforms to:
- NSObject
Availability: OpenStep
Description forthcoming.
Method summary
- (BOOL)
collectionView: (
NSCollectionView*)collectionView
acceptDrop: (id<
NSDraggingInfo>)draggingInfo
indexPath: (NSIndexPath*)indexPath
dropOperation: (
NSCollectionViewDropOperation)dropOperation;
Availability: Not in OpenStep/MacOS-X
Returns a BOOL to indicate if the drop at
indexPath was accepted
- (BOOL)
collectionView: (
NSCollectionView*)collectionView
canDragItemsAtIndexPaths: (NSSet*)indexPaths
withEvent: (
NSEvent*)event;
Availability: Not in OpenStep/MacOS-X
Return a boolean indicating if the
indexPaths on collectionView
can be dragged with the passed in event.
- (BOOL)
collectionView: (
NSCollectionView*)collectionView
canDragItemsAtIndexes: (NSIndexSet*)indexes
withEvent: (
NSEvent*)event;
Availability: MacOS-X 10.6.0
Return a boolean indicating if the
indexes on collectionView can
be dragged with the passed in event.
- (void)
collectionView: (
NSCollectionView*)collectionView
didChangeItemsAtIndexPaths: (NSSet*)indexPaths
toHighlightState: (
NSCollectionViewItemHighlightState)highlightState;
Availability: Not in OpenStep/MacOS-X
This is sent to inform the delegate of those items
that did change highlightState.
- (void)
collectionView: (
NSCollectionView*)collectionView
didDeselectItemsAtIndexPaths: (NSSet*)indexPaths;
Availability: Not in OpenStep/MacOS-X
Called to inform the delegate of those items that
were deselected.
- (void)
collectionView: (
NSCollectionView*)collectionView
didEndDisplayingItem: (
NSCollectionViewItem*)item
forRepresentedObjectAtIndexPath: (NSIndexPath*)indexPath;
Availability: Not in OpenStep/MacOS-X
Called to inform the delegate that the
collectionView will end display of
item for the object at
indexPath.
- (void)
collectionView: (
NSCollectionView*)collectionView
didEndDisplayingSupplementaryView: (
NSView*)view
forElementOfKind: (
NSCollectionViewSupplementaryElementKind)elementKind
atIndexPath: (NSIndexPath*)indexPath;
Availability: Not in OpenStep/MacOS-X
Called to inform the delegate that the
collectionView will end display of
supplementaryView for the object at
indexPath.
- (void)
collectionView: (
NSCollectionView*)collectionView
didSelectItemsAtIndexPaths: (NSSet*)indexPaths;
Availability: Not in OpenStep/MacOS-X
Called to inform the delegate of those items that
were selected.
- (
NSImage*)
collectionView: (
NSCollectionView*)collectionView
draggingImageForItemsAtIndexPaths: (NSSet*)indexPaths
withEvent: (
NSEvent*)event
offset: (NSPointPointer)dragImageOffset;
Availability: Not in OpenStep/MacOS-X
Returns an NSImage representing the items at
indexPaths which are being dragged.
- (
NSImage*)
collectionView: (
NSCollectionView*)collectionView
draggingImageForItemsAtIndexes: (NSIndexSet*)indexes
withEvent: (
NSEvent*)event
offset: (NSPointPointer)dragImageOffset;
Availability: MacOS-X 10.6.0
Returns an NSImage representing the items at
indexes which are being dragged.
- (void)
collectionView: (
NSCollectionView*)collectionView
draggingSession: (NSDraggingSession*)session
endedAtPoint: (NSPoint)screenPoint
dragOperation: (
NSDragOperation)operation;
Availability: OpenStep
Allows application to specify the
screenPoint at which a dragging
session did end
- (void)
collectionView: (
NSCollectionView*)collectionView
draggingSession: (NSDraggingSession*)session
willBeginAtPoint: (NSPoint)screenPoint
forItemsAtIndexPaths: (NSSet*)indexPaths;
Availability: Not in OpenStep/MacOS-X
Allows application to specify the
screenPoint at which a dragging
session will begin for the given
indexPaths
- (void)
collectionView: (
NSCollectionView*)collectionView
draggingSession: (NSDraggingSession*)session
willBeginAtPoint: (NSPoint)screenPoint
forItemsAtIndexes: (NSIndexSet*)indexes;
Availability: OpenStep
Allows application to specify the
screenPoint at which a dragging
session will begin for the given
indexes
- (NSArray*)
collectionView: (
NSCollectionView*)collectionView
namesOfPromisedFilesDroppedAtDestination: (NSURL*)dropURL
forDraggedItemsAtIndexPaths: (NSSet*)indexPaths;
Availability: Not in OpenStep/MacOS-X
Returns an array of filenames for files at
indexPaths that will be dropped at the
destination specified by NSURL.
- (NSArray*)
collectionView: (
NSCollectionView*)collectionView
namesOfPromisedFilesDroppedAtDestination: (NSURL*)dropURL
forDraggedItemsAtIndexes: (NSIndexSet*)indexes;
Availability: MacOS-X 10.6.0
Returns an array of filenames for files at
indexes that will be dropped at the
destination specified by NSURL.
- (id<
NSPasteboardWriting>)
collectionView: (
NSCollectionView*)collectionView
pasteboardWriterForItemAtIndex: (NSUInteger)index;
Availability: OpenStep
Return NSPasteboardWriting object for
collectionView at index
- (id<
NSPasteboardWriting>)
collectionView: (
NSCollectionView*)collectionView
pasteboardWriterForItemAtIndexPath: (NSIndexPath*)indexPath;
Availability: Not in OpenStep/MacOS-X
Return NSPasteboardWriting object for
collectionView at indexPath
- (NSSet*)
collectionView: (
NSCollectionView*)collectionView
shouldChangeItemsAtIndexPaths: (NSSet*)indexPaths
toHighlightState: (
NSCollectionViewItemHighlightState)highlightState;
Availability: Not in OpenStep/MacOS-X
Returns the set of indexPaths that
should change their selection. This is sent to
inform the delegate of those items that the
collectionView would like to change to
highlightState.
- (NSSet*)
collectionView: (
NSCollectionView*)collectionView
shouldDeselectItemsAtIndexPaths: (NSSet*)indexPaths;
Availability: Not in OpenStep/MacOS-X
Returns the set of NSIndexPath objects that should
be deselected given the proposed indexPaths.
- (NSSet*)
collectionView: (
NSCollectionView*)collectionView
shouldSelectItemsAtIndexPaths: (NSSet*)indexPaths;
Availability: Not in OpenStep/MacOS-X
Returns the set of indexPaths that
should change.
- (NSCollectionViewTransitionLayout*)
collectionView: (
NSCollectionView*)collectionView
transitionLayoutForOldLayout: (NSCollectionViewLayout*)fromLayout
newLayout: (NSCollectionViewLayout*)toLayout;
Availability: Not in OpenStep/MacOS-X
Called to inform the delegate that the
collectionView is transitioning from the
old to the new layout indicated.
- (void)
collectionView: (
NSCollectionView*)collectionView
updateDraggingItemsForDrag: (id<
NSDraggingInfo>)draggingInfo;
Availability: OpenStep
Update items include in the drag operation for
collectionView.
- (
NSDragOperation)
collectionView: (
NSCollectionView*)collectionView
validateDrop: (id<
NSDraggingInfo>)draggingInfo
proposedIndexPath: (NSIndexPath**)proposedDropIndexPath
dropOperation: (
NSCollectionViewDropOperation*)proposedDropOperation;
Availability: Not in OpenStep/MacOS-X
Return NSDragOperation when performing drag and drop
on collectionView at
proposedDropIndexPath.
- (void)
collectionView: (
NSCollectionView*)collectionView
willDisplayItem: (
NSCollectionViewItem*)item
forRepresentedObjectAtIndexPath: (NSIndexPath*)indexPath;
Availability: Not in OpenStep/MacOS-X
Called to inform the delegate that the
item representing the object at
indexPath will be displayed.
- (void)
collectionView: (
NSCollectionView*)collectionView
willDisplaySupplementaryView: (
NSView*)view
forElementKind: (
NSCollectionViewSupplementaryElementKind)elementKind
atIndexPath: (NSIndexPath*)indexPath;
Availability: Not in OpenStep/MacOS-X
Called to inform the delegate that the supplementary
view for the elementKind will
be displayed at indexPath.
- (BOOL)
collectionView: (
NSCollectionView*)collectionView
writeItemsAtIndexPaths: (NSSet*)indexPaths
toPasteboard: (
NSPasteboard*)pasteboard;
Availability: Not in OpenStep/MacOS-X
Return a boolean if the items at
indexPaths can be written to the
pasteboard
- (BOOL)
collectionView: (
NSCollectionView*)collectionView
writeItemsAtIndexes: (NSIndexSet*)indexes
toPasteboard: (
NSPasteboard*)pasteboard;
Availability: MacOS-X 10.6.0
Return a boolean if the items at indexes
can be written to the pasteboard
- Declared in:
- AppKit/NSCollectionView.h
- Conforms to:
- NSObject
- NSUserInterfaceItemIdentification
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
Method summary
- (void)
applyLayoutAttributes: (NSCollectionViewLayoutAttributes*)layoutAttributes;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void)
didTransitionFromLayout: (NSCollectionViewLayout*)oldLayout
toLayout: (NSCollectionViewLayout*)newLayout;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (NSCollectionViewLayoutAttributes*)
preferredLayoutAttributesFittingAttributes: (NSCollectionViewLayoutAttributes*)layoutAttributes;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void)
prepareForReuse;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- (void)
willTransitionFromLayout: (NSCollectionViewLayout*)oldLayout
toLayout: (NSCollectionViewLayout*)newLayout;
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
- Declared in:
- AppKit/NSCollectionView.h
- Conforms to:
- NSObject
Availability: Not in OpenStep/MacOS-X
Description forthcoming.
Method summary
- (void)
collectionView: (
NSCollectionView*)collectionView
cancelPrefetchingForItemsAtIndexPaths: (NSArray*)indexPaths;
Availability: Not in OpenStep/MacOS-X
Cancel the prefetch request for the listed
indexPaths.
- (void)
collectionView: (
NSCollectionView*)collectionView
prefetchItemsAtIndexPaths: (NSArray*)indexPaths;
Availability: Not in OpenStep/MacOS-X
Load the items listed in indexPaths in
collectionView before they are displayed
Up