A DropTargetContext is created whenever the logical cursor associated with a Drag and Drop operation coincides with the visible geometry of a Component associated with a DropTarget. The DropTargetContext provides the mechanism for a potential receiver of a drop operation to both provide the end user with the appropriate drag under feedback, but also to effect the subsequent data transfer if appropriate.
A DropTargetContext is created whenever the logical cursor associated with a Drag and Drop operation coincides with the visible geometry of a Component associated with a DropTarget. The DropTargetContext provides the mechanism for a potential receiver of a drop operation to both provide the end user with the appropriate drag under feedback, but also to effect the subsequent data transfer if appropriate.
(add-notify this dtcp)
Called when associated with the DropTargetContextPeer.
dtcp - the DropTargetContextPeer - java.awt.dnd.peer.DropTargetContextPeer
Called when associated with the DropTargetContextPeer. dtcp - the DropTargetContextPeer - `java.awt.dnd.peer.DropTargetContextPeer`
(drop-complete this success)
This method signals that the drop is completed and if it was successful or not.
success - true for success, false if not - boolean
throws: java.awt.dnd.InvalidDnDOperationException - if a drop is not outstanding/extant
This method signals that the drop is completed and if it was successful or not. success - true for success, false if not - `boolean` throws: java.awt.dnd.InvalidDnDOperationException - if a drop is not outstanding/extant
(get-component this)
This method returns the Component associated with this DropTargetContext.
returns: the Component associated with this Context - java.awt.Component
This method returns the Component associated with this DropTargetContext. returns: the Component associated with this Context - `java.awt.Component`
(get-drop-target this)
This method returns the DropTarget associated with this DropTargetContext.
returns: the DropTarget associated with this DropTargetContext - java.awt.dnd.DropTarget
This method returns the DropTarget associated with this DropTargetContext. returns: the DropTarget associated with this DropTargetContext - `java.awt.dnd.DropTarget`
(remove-notify this)
Called when disassociated with the DropTargetContextPeer.
Called when disassociated with the DropTargetContextPeer.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close