NSCollectionViewクラス
INDEX>AppKit> NSCollectionView
**
継承 | NSObject |
NSResponder | |
NSView | |
NSCollectionView | |
準拠 | NSObject (NSObject) |
NSAccessibility | |
NSAccessibilityElement | |
NSAnimatablePropertyContainer | |
NSAppearanceCustomization | |
NSCoding | |
NSDraggingDestination | |
NSDraggingSource | |
NSUserInterfaceItemIdentification | |
フレームワーク | /System/Library/Frameworks/AppKit.framework |
使用可能 | OS X 10.5以降 |
定義 | |
インポート文 | @import AppKit; |
概要
メソッドとプロパティ
Modifying the Collection View Item
itemPrototype
- newItemForRepresentedObject:
Working with the Responder Chain
firstResponder
Setting the Content
content
Setting the Selection Mode
selectable
allowsMultipleSelection
selectionIndexes
Laying out the Collection View
maxNumberOfRows
maxNumberOfColumns
minItemSize
maxItemSize
Modifying the Background
backgroundColors
Drag and Drop Support
- draggingImageForItemsAtIndexes:withEvent:offset:
- setDraggingSourceOperationMask:forLocal:
Getting a Collection Item and its Frame
- itemAtIndex:
- frameForItemAtIndex:
- frameForItemAtIndex:withNumberOfItems:
Constants
NSCollectionViewDropOperation
定数
参照
更新時バージョン
OS X 10.11