^1639996220668
@
sname
DropTargetListener
slabel
DropTargetListener
sdescriptors
xworker.lang.MetaDescriptor3
sextends
xworker.java.awt.event.Listener
smany
true
seditCols
2
sinitialization
false
smodifier
public
sinheritDescription
false
Sdescription
#$@text#$@
<p><span style="background-color:rgb(255, 255, 255); color:rgb(53, 56, 51)">The </span><code>DropTargetListener</code><span style="background-color:rgb(255, 255, 255); color:rgb(53, 56, 51)"> interface is the callback interface used by the </span><code>DropTarget</code><span style="background-color:rgb(255, 255, 255); color:rgb(53, 56, 51)"> class to provide notification of DnD operations that involve the subject </span><code>DropTarget</code><span style="background-color:rgb(255, 255, 255); color:rgb(53, 56, 51)">. Methods of this interface may be implemented to provide &quot;drag under&quot; visual feedback to the user throughout the Drag and Drop operation.</span></p>

<p style="text-align: left;">Create a listener object by implementing the interface and then register it with a <code>DropTarget</code>. When the drag enters, moves over, or exits the operable part of the drop site for that <code>DropTarget</code>, when the drop action changes, and when the drop occurs, the relevant method in the listener object is invoked, and the <code>DropTargetEvent</code> is passed to it.</p>

<p style="text-align: left;">The operable part of the drop site for the <code>DropTarget</code> is the part of the associated <code>Component</code>&#39;s geometry that is not obscured by an overlapping top-level window or by another <code>Component</code> higher in the Z-order that has an associated active <code>DropTarget</code>.</p>

<p style="text-align: left;">During the drag, the data associated with the current drag operation can be retrieved by calling <code>getTransferable()</code> on <code>DropTargetDragEvent</code> instances passed to the listener&#39;s methods.</p>

<p style="text-align: left;">Note that <code>getTransferable()</code> on the <code>DropTargetDragEvent</code> instance should only be called within the respective listener&#39;s method and all the necessary data should be retrieved from the returned <code>Transferable</code> before that method returns.</p>
#$@text#$@
sth_createIndex
false
sth_mark
false
sid
DropTargetListener
  @/@actions
  sname
  actions
  sdescriptors
  xworker.lang.MetaDescriptor3/@actions
  sth_createIndex
  false
  sth_mark
  false
  sid
  actions
    @/@actions/@create
    sname
    create
    sisSynchronized
    false
    sthrowException
    true
    suseOtherAction
    false
    suseOuterJava
    true
    souterClassName
    xworker.core.java.awt.event.ListenerCreator
    smethodName
    createDropTargetListener
    sdisableGlobalContext
    false
    sattributeTemplate
    false
    sinterpretationType
    Action
    svarScope
    Global
    screateLocalVarScope
    false
    ssaveReturn
    false
    sdescriptors
    xworker.lang.actions.Actions/@JavaAction
    sth_createIndex
    false
    sth_mark
    false
    sid
    create
    @/@actions/@dragEnter
    sname
    dragEnter
    sdescriptors
    xworker.lang.actions.Actions/@NOOP
    sth_createIndex
    false
    sth_mark
    false
    sid
    dragEnter
    @/@actions/@dragOver
    sname
    dragOver
    sdescriptors
    xworker.lang.actions.Actions/@NOOP
    sth_createIndex
    false
    sth_mark
    false
    sid
    dragOver
    @/@actions/@dropActionChanged
    sname
    dropActionChanged
    sdescriptors
    xworker.lang.actions.Actions/@NOOP
    sth_createIndex
    false
    sth_mark
    false
    sid
    dropActionChanged
    @/@actions/@dragExit
    sname
    dragExit
    sdescriptors
    xworker.lang.actions.Actions/@NOOP
    sth_createIndex
    false
    sth_mark
    false
    sid
    dragExit
    @/@actions/@drop
    sname
    drop
    sdescriptors
    xworker.lang.actions.Actions/@NOOP
    sth_createIndex
    false
    sth_mark
    false
    sid
    drop
  @/@name
  sname
  name
  sshowLabel
  true
  sreadOnly
  false
  sinheritDescription
  false
  svalidateAllowBlank
  true
  LvalidateOnBlur
  true
  LallowDecimals
  true
  LallowNegative
  true
  sdescriptors
  xworker.lang.MetaDescriptor3/@attribute
  sth_createIndex
  false
  sth_mark
  false
  sid
  name
