| Package | Description |
|---|---|
| java.awt.dnd |
| Modifier and Type | Class and Description |
|---|---|
class |
DropTarget
The
DropTarget is associated
with a Component when that Component
wishes
to accept drops during Drag and Drop operations. |
class |
DropTargetAdapter
An abstract adapter class for receiving drop target events.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DropTarget.addDropTargetListener(DropTargetListener dtl)
Adds a new
DropTargetListener (UNICAST SOURCE). |
void |
DropTarget.removeDropTargetListener(DropTargetListener dtl)
Removes the current
DropTargetListener (UNICAST SOURCE). |
| Constructor and Description |
|---|
DropTarget(Component c,
DropTargetListener dtl)
Creates a
DropTarget given the Component
to associate itself with, and the DropTargetListener
to handle event processing. |
DropTarget(Component c,
int ops,
DropTargetListener dtl)
Creates a
DropTarget given the Component
to associate itself with, an int representing
the default acceptable action(s) to support, and a
DropTargetListener to handle event processing. |
DropTarget(Component c,
int ops,
DropTargetListener dtl,
boolean act)
Creates a
DropTarget given the Component
to associate itself with, an int representing
the default acceptable action(s)
to support, a DropTargetListener
to handle event processing, and a boolean indicating
if the DropTarget is currently accepting drops. |
DropTarget(Component c,
int ops,
DropTargetListener dtl,
boolean act,
FlavorMap fm)
Creates a new DropTarget given the
Component
to associate itself with, an int representing
the default acceptable action(s) to
support, a DropTargetListener
to handle event processing, a boolean indicating
if the DropTarget is currently accepting drops, and
a FlavorMap to use (or null for the default FlavorMap). |
Generated by SciJava from the sources of OpenJDK 8 (Zulu), which are licensed under the GNU General Public License, version 2, with the Classpath Exception. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.