The java.awt.dnd Package
The classes and interfaces contained in the java.awt.dnd package are listed in Table 21-1.
Class/Interface | Class or Interface | Purpose |
---|---|---|
Autoscroll | Interface | Can be implemented by scrollable drop targets |
DnDConstants | Class | Enumeration of ction constants |
DragGestureEvent | Class | Passed to gestureRecognized() |
DragGestureListener | Interface | Implements gestureRecognized() |
DragGestureRecognizer | Class | Invokes gestureRecognized() |
DragSource | Class | Starts drag |
DragSourceContext | Class | Maintains state with native peer |
DragSourceDragEvent | Class | Notifies DragSourceListeners |
DragSourceDropEvent | Class | Notifies DragSourceListeners |
DragSourceEvent | Class | Base class for DragSourceDragEvent/ DragSourceDropEvent ... |
Get Graphic Java™ 1.2, Volume I: AWT, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.