Home » openjdk-7 » java » awt » dnd » [javadoc | source]
java.awt.dnd
public interface: DragGestureListener [javadoc | source]

All Implemented Interfaces:
    java$util$EventListener

All Known Implementing Classes:
    DragHandler

The listener interface for receiving drag gesture events. This interface is intended for a drag gesture recognition implementation. See a specification for {@code DragGestureRecognizer} for details on how to register the listener interface. Upon recognition of a drag gesture the {@code DragGestureRecognizer} calls this interface's dragGestureRecognized() method and passes a {@code DragGestureEvent}.
Method from java.awt.dnd.DragGestureListener Summary:
dragGestureRecognized
Method from java.awt.dnd.DragGestureListener Detail:
 public  void dragGestureRecognized(DragGestureEvent dge)
    This method is invoked by the {@code DragGestureRecognizer} when the {@code DragGestureRecognizer} detects a platform-dependent drag initiating gesture. To intiate the drag and drop operation, if approtiate, startDrag() method on the {@code DragGestureEvent} has to be invoked.