NSDraggingDestination class interface

NSDraggingDestination

Implementers

Constructors

NSDraggingDestination.castFrom(ObjCObjectBase other)
Constructs a NSDraggingDestination that points to the same underlying object as other.
NSDraggingDestination.castFromPointer(Pointer<ObjCObject> other, {bool retain = false, bool release = false})
Constructs a NSDraggingDestination that wraps the given raw object pointer.

Properties

hashCode → int
The hash code for this object.
no setterinherited
ref → ObjCObjectRef
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

$protocol → Protocol
Returns the objc.Protocol object for this protocol.
no setter
concludeDragOperation_ → ObjCProtocolListenableMethod<void Function(NSDraggingInfo?)>
concludeDragOperation:
final
draggingEnded_ → ObjCProtocolListenableMethod<void Function(NSDraggingInfo)>
draggingEnded:
final
draggingEntered_ → ObjCProtocolMethod<NSDragOperation Function(NSDraggingInfo)>
draggingEntered:
final
draggingExited_ → ObjCProtocolListenableMethod<void Function(NSDraggingInfo?)>
draggingExited:
final
draggingUpdated_ → ObjCProtocolMethod<NSDragOperation Function(NSDraggingInfo)>
draggingUpdated:
final
performDragOperation_ → ObjCProtocolMethod<bool Function(NSDraggingInfo)>
performDragOperation:
final
prepareForDragOperation_ → ObjCProtocolMethod<bool Function(NSDraggingInfo)>
prepareForDragOperation:
final
updateDraggingItemsForDrag_ → ObjCProtocolListenableMethod<void Function(NSDraggingInfo?)>
updateDraggingItemsForDrag:
final
wantsPeriodicDraggingUpdates → ObjCProtocolMethod<bool Function()>
wantsPeriodicDraggingUpdates
final

Static Methods

addToBuilder(ObjCProtocolBuilder builder, {NSDragOperation draggingEntered_(NSDraggingInfo)?, NSDragOperation draggingUpdated_(NSDraggingInfo)?, void draggingExited_(NSDraggingInfo?)?, bool prepareForDragOperation_(NSDraggingInfo)?, bool performDragOperation_(NSDraggingInfo)?, void concludeDragOperation_(NSDraggingInfo?)?, void draggingEnded_(NSDraggingInfo)?, bool wantsPeriodicDraggingUpdates()?, void updateDraggingItemsForDrag_(NSDraggingInfo?)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSDraggingDestination protocol to an existing objc.ObjCProtocolBuilder.
addToBuilderAsBlocking(ObjCProtocolBuilder builder, {NSDragOperation draggingEntered_(NSDraggingInfo)?, NSDragOperation draggingUpdated_(NSDraggingInfo)?, void draggingExited_(NSDraggingInfo?)?, bool prepareForDragOperation_(NSDraggingInfo)?, bool performDragOperation_(NSDraggingInfo)?, void concludeDragOperation_(NSDraggingInfo?)?, void draggingEnded_(NSDraggingInfo)?, bool wantsPeriodicDraggingUpdates()?, void updateDraggingItemsForDrag_(NSDraggingInfo?)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSDraggingDestination protocol to an existing objc.ObjCProtocolBuilder. All methods that can be implemented as blocking listeners will be.
addToBuilderAsListener(ObjCProtocolBuilder builder, {NSDragOperation draggingEntered_(NSDraggingInfo)?, NSDragOperation draggingUpdated_(NSDraggingInfo)?, void draggingExited_(NSDraggingInfo?)?, bool prepareForDragOperation_(NSDraggingInfo)?, bool performDragOperation_(NSDraggingInfo)?, void concludeDragOperation_(NSDraggingInfo?)?, void draggingEnded_(NSDraggingInfo)?, bool wantsPeriodicDraggingUpdates()?, void updateDraggingItemsForDrag_(NSDraggingInfo?)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the NSDraggingDestination protocol to an existing objc.ObjCProtocolBuilder. All methods that can be implemented as listeners will be.
conformsTo(ObjCObjectBase obj) → bool
Returns whether obj is an instance of NSDraggingDestination.
implement({NSDragOperation draggingEntered_(NSDraggingInfo)?, NSDragOperation draggingUpdated_(NSDraggingInfo)?, void draggingExited_(NSDraggingInfo?)?, bool prepareForDragOperation_(NSDraggingInfo)?, bool performDragOperation_(NSDraggingInfo)?, void concludeDragOperation_(NSDraggingInfo?)?, void draggingEnded_(NSDraggingInfo)?, bool wantsPeriodicDraggingUpdates()?, void updateDraggingItemsForDrag_(NSDraggingInfo?)?, bool $keepIsolateAlive = true}) → NSDraggingDestination
Builds an object that implements the NSDraggingDestination protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly.
implementAsBlocking({NSDragOperation draggingEntered_(NSDraggingInfo)?, NSDragOperation draggingUpdated_(NSDraggingInfo)?, void draggingExited_(NSDraggingInfo?)?, bool prepareForDragOperation_(NSDraggingInfo)?, bool performDragOperation_(NSDraggingInfo)?, void concludeDragOperation_(NSDraggingInfo?)?, void draggingEnded_(NSDraggingInfo)?, bool wantsPeriodicDraggingUpdates()?, void updateDraggingItemsForDrag_(NSDraggingInfo?)?, bool $keepIsolateAlive = true}) → NSDraggingDestination
Builds an object that implements the NSDraggingDestination protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All methods that can be implemented as blocking listeners will be.
implementAsListener({NSDragOperation draggingEntered_(NSDraggingInfo)?, NSDragOperation draggingUpdated_(NSDraggingInfo)?, void draggingExited_(NSDraggingInfo?)?, bool prepareForDragOperation_(NSDraggingInfo)?, bool performDragOperation_(NSDraggingInfo)?, void concludeDragOperation_(NSDraggingInfo?)?, void draggingEnded_(NSDraggingInfo)?, bool wantsPeriodicDraggingUpdates()?, void updateDraggingItemsForDrag_(NSDraggingInfo?)?, bool $keepIsolateAlive = true}) → NSDraggingDestination
Builds an object that implements the NSDraggingDestination protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly. All methods that can be implemented as listeners will be.