39 * {@link #dragGestureRecognized dragGestureRecognized()}
40 * method and passes a {@code DragGestureEvent}.
41
42 *
43 * @see java.awt.dnd.DragGestureRecognizer
44 * @see java.awt.dnd.DragGestureEvent
45 * @see java.awt.dnd.DragSource
46 */
47
48 public interface DragGestureListener extends EventListener {
49
50 /**
51 * This method is invoked by the {@code DragGestureRecognizer}
52 * when the {@code DragGestureRecognizer} detects a platform-dependent
53 * drag initiating gesture. To initiate the drag and drop operation,
54 * if appropriate, {@link DragGestureEvent#startDrag startDrag()} method on
55 * the {@code DragGestureEvent} has to be invoked.
56 *
57 * @see java.awt.dnd.DragGestureRecognizer
58 * @see java.awt.dnd.DragGestureEvent
59 * @param dge the <code>DragGestureEvent</code> describing
60 * the gesture that has just occurred
61 */
62
63 void dragGestureRecognized(DragGestureEvent dge);
64 }
|
39 * {@link #dragGestureRecognized dragGestureRecognized()}
40 * method and passes a {@code DragGestureEvent}.
41
42 *
43 * @see java.awt.dnd.DragGestureRecognizer
44 * @see java.awt.dnd.DragGestureEvent
45 * @see java.awt.dnd.DragSource
46 */
47
48 public interface DragGestureListener extends EventListener {
49
50 /**
51 * This method is invoked by the {@code DragGestureRecognizer}
52 * when the {@code DragGestureRecognizer} detects a platform-dependent
53 * drag initiating gesture. To initiate the drag and drop operation,
54 * if appropriate, {@link DragGestureEvent#startDrag startDrag()} method on
55 * the {@code DragGestureEvent} has to be invoked.
56 *
57 * @see java.awt.dnd.DragGestureRecognizer
58 * @see java.awt.dnd.DragGestureEvent
59 * @param dge the {@code DragGestureEvent} describing
60 * the gesture that has just occurred
61 */
62
63 void dragGestureRecognized(DragGestureEvent dge);
64 }
|