Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user
interfaces and for painting graphics and images.
|
java.awt.dnd |
Drag and Drop is a direct manipulation gesture found in many Graphical
User Interface systems that provides a mechanism to transfer
information between two entities logically associated with presentation
elements in the GUI.
|
Modifier and Type | Method and Description |
---|---|
DropTarget |
Component.getDropTarget()
Gets the
DropTarget associated with this
Component . |
Modifier and Type | Method and Description |
---|---|
void |
Component.setDropTarget(DropTarget dt)
Associate a
DropTarget with this component. |
Modifier and Type | Method and Description |
---|---|
DropTarget |
DropTargetContext.getDropTarget()
This method returns the
DropTarget associated with this
DropTargetContext . |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2018, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.