NSDraggingSource class interface
NSDraggingSource
- Implementers
Constructors
- NSDraggingSource.castFrom(ObjCObjectBase other)
-
Constructs a NSDraggingSource that points to the same underlying object as
other. -
NSDraggingSource.castFromPointer(Pointer<
ObjCObject> other, {bool retain = false, bool release = false}) - Constructs a NSDraggingSource 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.Protocolobject for this protocol.no setter -
draggingSession_endedAtPoint_operation_
→ ObjCProtocolListenableMethod<
void Function(NSDraggingSession, NSPoint, NSDragOperation)> -
draggingSession:endedAtPoint:operation:
final
-
draggingSession_movedToPoint_
→ ObjCProtocolListenableMethod<
void Function(NSDraggingSession, NSPoint)> -
draggingSession:movedToPoint:
final
-
draggingSession_sourceOperationMaskForDraggingContext_
→ ObjCProtocolMethod<
NSDragOperation Function(NSDraggingSession, NSDraggingContext)> -
draggingSession:sourceOperationMaskForDraggingContext:
final
-
draggingSession_willBeginAtPoint_
→ ObjCProtocolListenableMethod<
void Function(NSDraggingSession, NSPoint)> -
draggingSession:willBeginAtPoint:
final
-
ignoreModifierKeysForDraggingSession_
→ ObjCProtocolMethod<
bool Function(NSDraggingSession)> -
ignoreModifierKeysForDraggingSession:
final
Static Methods
-
addToBuilder(
ObjCProtocolBuilder builder, {required NSDragOperation draggingSession_sourceOperationMaskForDraggingContext_(NSDraggingSession, NSDraggingContext), void draggingSession_willBeginAtPoint_(NSDraggingSession, NSPoint)?, void draggingSession_movedToPoint_(NSDraggingSession, NSPoint)?, void draggingSession_endedAtPoint_operation_(NSDraggingSession, NSPoint, NSDragOperation)?, bool ignoreModifierKeysForDraggingSession_(NSDraggingSession)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSDraggingSource protocol to an existing
objc.ObjCProtocolBuilder. -
addToBuilderAsBlocking(
ObjCProtocolBuilder builder, {required NSDragOperation draggingSession_sourceOperationMaskForDraggingContext_(NSDraggingSession, NSDraggingContext), void draggingSession_willBeginAtPoint_(NSDraggingSession, NSPoint)?, void draggingSession_movedToPoint_(NSDraggingSession, NSPoint)?, void draggingSession_endedAtPoint_operation_(NSDraggingSession, NSPoint, NSDragOperation)?, bool ignoreModifierKeysForDraggingSession_(NSDraggingSession)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSDraggingSource protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as blocking listeners will be. -
addToBuilderAsListener(
ObjCProtocolBuilder builder, {required NSDragOperation draggingSession_sourceOperationMaskForDraggingContext_(NSDraggingSession, NSDraggingContext), void draggingSession_willBeginAtPoint_(NSDraggingSession, NSPoint)?, void draggingSession_movedToPoint_(NSDraggingSession, NSPoint)?, void draggingSession_endedAtPoint_operation_(NSDraggingSession, NSPoint, NSDragOperation)?, bool ignoreModifierKeysForDraggingSession_(NSDraggingSession)?, bool $keepIsolateAlive = true}) → void -
Adds the implementation of the NSDraggingSource protocol to an existing
objc.ObjCProtocolBuilder. All methods that can be implemented as listeners will be. -
conformsTo(
ObjCObjectBase obj) → bool -
Returns whether
objis an instance of NSDraggingSource. -
implement(
{required NSDragOperation draggingSession_sourceOperationMaskForDraggingContext_(NSDraggingSession, NSDraggingContext), void draggingSession_willBeginAtPoint_(NSDraggingSession, NSPoint)?, void draggingSession_movedToPoint_(NSDraggingSession, NSPoint)?, void draggingSession_endedAtPoint_operation_(NSDraggingSession, NSPoint, NSDragOperation)?, bool ignoreModifierKeysForDraggingSession_(NSDraggingSession)?, bool $keepIsolateAlive = true}) → NSDraggingSource -
Builds an object that implements the NSDraggingSource protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. -
implementAsBlocking(
{required NSDragOperation draggingSession_sourceOperationMaskForDraggingContext_(NSDraggingSession, NSDraggingContext), void draggingSession_willBeginAtPoint_(NSDraggingSession, NSPoint)?, void draggingSession_movedToPoint_(NSDraggingSession, NSPoint)?, void draggingSession_endedAtPoint_operation_(NSDraggingSession, NSPoint, NSDragOperation)?, bool ignoreModifierKeysForDraggingSession_(NSDraggingSession)?, bool $keepIsolateAlive = true}) → NSDraggingSource -
Builds an object that implements the NSDraggingSource protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as blocking listeners will be. -
implementAsListener(
{required NSDragOperation draggingSession_sourceOperationMaskForDraggingContext_(NSDraggingSession, NSDraggingContext), void draggingSession_willBeginAtPoint_(NSDraggingSession, NSPoint)?, void draggingSession_movedToPoint_(NSDraggingSession, NSPoint)?, void draggingSession_endedAtPoint_operation_(NSDraggingSession, NSPoint, NSDragOperation)?, bool ignoreModifierKeysForDraggingSession_(NSDraggingSession)?, bool $keepIsolateAlive = true}) → NSDraggingSource -
Builds an object that implements the NSDraggingSource protocol. To implement
multiple protocols, use addToBuilder or
objc.ObjCProtocolBuilderdirectly. All methods that can be implemented as listeners will be.