Up

NSCollectionView

Authors

Doug Simons (doug.simons@testplant.com)

Copyright: (C) 2013 Free Software Foundation, Inc.


Contents -

  1. Software documentation for the NSCollectionView class
  2. Software documentation for the NSCollectionViewDelegate protocol

Software documentation for the NSCollectionView class

NSCollectionView : NSView

Declared in:
AppKit/NSCollectionView.h
Availability: OpenStep

Description forthcoming.

Instance Variables

Method summary

allowsMultipleSelection 

- (BOOL) allowsMultipleSelection;
Availability: OpenStep

Description forthcoming.

backgroundColors 

- (NSArray*) backgroundColors;
Availability: OpenStep

Description forthcoming.

content 

- (NSArray*) content;
Availability: OpenStep

Description forthcoming.

delegate 

- (id<NSCollectionViewDelegate>) delegate;
Availability: OpenStep

Description forthcoming.

draggingImageForItemsAtIndexes: withEvent: offset: 

- (NSImage*) draggingImageForItemsAtIndexes: (NSIndexSet*)indexes withEvent: (NSEvent*)event offset: (NSPointPointer)dragImageOffset;
Availability: OpenStep

Description forthcoming.

frameForItemAtIndex: 

- (NSRect) frameForItemAtIndex: (NSUInteger)theIndex;
Availability: OpenStep

Description forthcoming.

isSelectable 

- (BOOL) isSelectable;
Availability: OpenStep

Description forthcoming.

itemAtIndex: 

- (NSCollectionViewItem*) itemAtIndex: (NSUInteger)index;
Availability: OpenStep

Description forthcoming.

itemPrototype 

- (NSCollectionViewItem*) itemPrototype;
Availability: OpenStep

Description forthcoming.

maxItemSize 

- (NSSize) maxItemSize;
Availability: OpenStep

Description forthcoming.

maxNumberOfColumns 

- (NSUInteger) maxNumberOfColumns;
Availability: OpenStep

Description forthcoming.

maxNumberOfRows 

- (NSUInteger) maxNumberOfRows;
Availability: OpenStep

Description forthcoming.

minItemSize 

- (NSSize) minItemSize;
Availability: OpenStep

Description forthcoming.

newItemForRepresentedObject: 

- (NSCollectionViewItem*) newItemForRepresentedObject: (id)object;
Availability: OpenStep

Description forthcoming.

selectionIndexes 

- (NSIndexSet*) selectionIndexes;
Availability: OpenStep

Description forthcoming.

setAllowsMultipleSelection: 

- (void) setAllowsMultipleSelection: (BOOL)flag;
Availability: OpenStep

Description forthcoming.

setBackgroundColors: 

- (void) setBackgroundColors: (NSArray*)colors;
Availability: OpenStep

Description forthcoming.

setContent: 

- (void) setContent: (NSArray*)content;
Availability: OpenStep

Description forthcoming.

setDelegate: 

- (void) setDelegate: (id<NSCollectionViewDelegate>)aDelegate;
Availability: OpenStep

Description forthcoming.

setDraggingSourceOperationMask: forLocal: 

- (void) setDraggingSourceOperationMask: (NSDragOperation)mask forLocal: (BOOL)isLocal;
Availability: OpenStep

Description forthcoming.

setItemPrototype: 

- (void) setItemPrototype: (NSCollectionViewItem*)prototype;
Availability: OpenStep

Description forthcoming.

setMaxItemSize: 

- (void) setMaxItemSize: (NSSize)size;
Availability: OpenStep

Description forthcoming.

setMaxNumberOfColumns: 

- (void) setMaxNumberOfColumns: (NSUInteger)number;
Availability: OpenStep

Description forthcoming.

setMaxNumberOfRows: 

- (void) setMaxNumberOfRows: (NSUInteger)number;
Availability: OpenStep

Description forthcoming.

setMinItemSize: 

- (void) setMinItemSize: (NSSize)size;
Availability: OpenStep

Description forthcoming.

setSelectable: 

- (void) setSelectable: (BOOL)flag;
Availability: OpenStep

Description forthcoming.

setSelectionIndexes: 

- (void) setSelectionIndexes: (NSIndexSet*)indexes;
Availability: OpenStep

Description forthcoming.

tile 

- (void) tile;
Availability: OpenStep

Description forthcoming.



Instance Variables for NSCollectionView Class

_allowsMultipleSelection

@protected BOOL _allowsMultipleSelection;
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.

_backgroundColors

@protected NSArray* _backgroundColors;
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.

_content

@protected NSArray* _content;
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.

_draggingOnIndex

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

_draggingOnRow

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

_draggingSourceOperationMaskForLocal

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

_draggingSourceOperationMaskForRemote

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

_horizontalMargin

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

_isSelectable

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

_itemSize

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

_items

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

_maxItemSize

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

_maxNumberOfColumns

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

_maxNumberOfRows

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

_minItemSize

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

_numberOfColumns

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

_selectionIndexes

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

_tileWidth

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

_verticalMargin

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




Software documentation for the NSCollectionViewDelegate protocol

NSCollectionViewDelegate

Declared in:
AppKit/NSCollectionView.h
Conforms to:
NSObject
Availability: OpenStep

Description forthcoming.
Method summary

collectionView: acceptDrop: index: dropOperation: 

- (BOOL) collectionView: (NSCollectionView*)collectionView acceptDrop: (id<NSDraggingInfo>)draggingInfo index: (NSInteger)index dropOperation: (NSCollectionViewDropOperation)dropOperation;
Availability: OpenStep

Description forthcoming.

collectionView: canDragItemsAtIndexes: withEvent: 

- (BOOL) collectionView: (NSCollectionView*)collectionView canDragItemsAtIndexes: (NSIndexSet*)indexes withEvent: (NSEvent*)event;
Availability: OpenStep

Description forthcoming.

collectionView: draggingImageForItemsAtIndexes: withEvent: offset: 

- (NSImage*) collectionView: (NSCollectionView*)collectionView draggingImageForItemsAtIndexes: (NSIndexSet*)indexes withEvent: (NSEvent*)event offset: (NSPointPointer)dragImageOffset;
Availability: OpenStep

Description forthcoming.

collectionView: namesOfPromisedFilesDroppedAtDestination: forDraggedItemsAtIndexes: 

- (NSArray*) collectionView: (NSCollectionView*)collectionView namesOfPromisedFilesDroppedAtDestination: (NSURL*)dropURL forDraggedItemsAtIndexes: (NSIndexSet*)indexes;
Availability: OpenStep

Description forthcoming.

collectionView: validateDrop: proposedIndex: dropOperation: 

- (NSDragOperation) collectionView: (NSCollectionView*)collectionView validateDrop: (id<NSDraggingInfo>)draggingInfo proposedIndex: (NSInteger*)proposedDropIndex dropOperation: (NSCollectionViewDropOperation*)proposedDropOperation;
Availability: OpenStep

Description forthcoming.

collectionView: writeItemsAtIndexes: toPasteboard: 

- (BOOL) collectionView: (NSCollectionView*)collectionView writeItemsAtIndexes: (NSIndexSet*)indexes toPasteboard: (NSPasteboard*)pasteboard;
Availability: OpenStep

Description forthcoming.


Up