API  1.0.0
<CPCollectionViewDelegate > Protocol Reference
+ Inheritance diagram for <CPCollectionViewDelegate >:

Instance Methods

(BOOL) - collectionView:acceptDrop:index:dropOperation:
 
(BOOL) - collectionView:canDragItemsAtIndexes:withEvent:
 
(CPData- collectionView:dataForItemsAtIndexes:forType:
 
(void) - collectionView:didDoubleClickOnItemAtIndex:
 
(CPView- collectionView:draggingViewForItemsAtIndexes:withEvent:offset:
 
(CPArray) - collectionView:dragTypesForItemsAtIndexes:
 
(CPMenu- collectionView:menuForItemAtIndex:
 
(CPDragOperation) - collectionView:validateDrop:proposedIndex:dropOperation:
 
(BOOL) - collectionView:writeItemsAtIndexes:toPasteboard:
 
- Instance Methods inherited from <CPObject>
(Class) - class
 
(BOOL) - conformsToProtocol:
 
(CPString- debugDescription
 
(CPString- description
 
(CPUInteger) - hash
 
(BOOL) - isEqual:
 
(BOOL) - isKindOfClass:
 
(BOOL) - isMemberOfClass:
 
(BOOL) - isProxy
 
(id) - performSelector:
 
(id) - performSelector:withObject:
 
(id) - performSelector:withObject:withObject:
 
(BOOL) - respondsToSelector:
 
(id) - self
 
(Class) - superclass
 

Detailed Description

Definition at line 37 of file CPCollectionView.j.

Method Documentation

◆ collectionView:acceptDrop:index:dropOperation:()

- (BOOL CPCollectionViewDelegate) collectionView: (CPCollectionView collectionView
acceptDrop: (id)  draggingInfo
index: (CPInteger)  index
dropOperation: (CPCollectionViewDropOperation)  dropOperation 
optional

◆ collectionView:canDragItemsAtIndexes:withEvent:()

- (BOOL CPCollectionViewDelegate) collectionView: (CPCollectionView collectionView
canDragItemsAtIndexes: (CPIndexSet indexes
withEvent: (CPEvent event 
optional

◆ collectionView:dataForItemsAtIndexes:forType:()

- (CPData CPCollectionViewDelegate) collectionView: (CPCollectionView collectionView
dataForItemsAtIndexes: (CPIndexSet indices
forType: (CPString aType 
optional

◆ collectionView:didDoubleClickOnItemAtIndex:()

- (void CPCollectionViewDelegate) collectionView: (CPCollectionView collectionView
didDoubleClickOnItemAtIndex: (int)  index 
optional

◆ collectionView:draggingViewForItemsAtIndexes:withEvent:offset:()

- (CPView CPCollectionViewDelegate) collectionView: (CPCollectionView collectionView
draggingViewForItemsAtIndexes: (CPIndexSet indexes
withEvent: (CPEvent event
offset: (CGPoint)  dragImageOffset 
optional

◆ collectionView:dragTypesForItemsAtIndexes:()

- (CPArray CPCollectionViewDelegate) collectionView: (CPCollectionView collectionView
dragTypesForItemsAtIndexes: (CPIndexSet indexes 
optional

◆ collectionView:menuForItemAtIndex:()

- (CPMenu CPCollectionViewDelegate) collectionView: (CPCollectionView collectionView
menuForItemAtIndex: (CPInteger)  anIndex 
optional

◆ collectionView:validateDrop:proposedIndex:dropOperation:()

- (CPDragOperation CPCollectionViewDelegate) collectionView: (CPCollectionView collectionView
validateDrop: (id)  draggingInfo
proposedIndex: (CPInteger)  proposedDropIndex
dropOperation: (CPCollectionViewDropOperation)  proposedDropOperation 
optional

◆ collectionView:writeItemsAtIndexes:toPasteboard:()

- (BOOL CPCollectionViewDelegate) collectionView: (CPCollectionView collectionView
writeItemsAtIndexes: (CPIndexSet indexes
toPasteboard: (CPPasteboard pasteboard 
optional

The documentation for this protocol was generated from the following file: