Liking cljdoc? Tell your friends :D

jdk.awt.dnd.DropTargetContext

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.
raw docstring

add-notifyclj

(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`
raw docstring

drop-completeclj

(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
raw docstring

get-componentclj

(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`
raw docstring

get-drop-targetclj

(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`
raw docstring

remove-notifyclj

(remove-notify this)

Called when disassociated with the DropTargetContextPeer.

Called when disassociated with the DropTargetContextPeer.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close