Instance Method

canDragRowsWithIndexes:inColumn:withEvent:

Indicates whether the browser can attempt to initiate a drag of the given rows for the given event.

Declaration

- (BOOL)canDragRowsWithIndexes:(NSIndexSet *)rowIndexes inColumn:(NSInteger)column withEvent:(NSEvent *)event;

Parameters

rowIndexes

Rows the user is dragging

columnIndex

Column containing the rows the user is dragging.

dragEvent

Mouse-drag event.

Return Value

YES when rowIndexes identifies at least one row and all the identified rows are enabled; otherwise, NO.

See Also

Dragging

- draggingSourceOperationMaskForLocal:

Indicates the types of dragging operations the source object allows on the dragged image’s data.

- setDraggingSourceOperationMask:forLocal:

Specifies the drag-operation mask for dragging operations with local or external destinations.

- draggingImageForRowsWithIndexes:inColumn:withEvent:offset:

Provides an image to represent dragged rows during a drag operation on the browser.

- namesOfPromisedFilesDroppedAtDestination:

Provides the names of the files that the browser promises to create at a specified location.