O'Reilly logo

Graphic Java™ 1.2, Volume I: AWT, Third Edition by David M. Geary

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

The java.awt.dnd Package

The classes and interfaces contained in the java.awt.dnd package are listed in Table 21-1.

Table 21-1. java.awt.dnd Classes and Interfaces
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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required