KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > awt > dnd > DragGestureListener


1 /*
2  * @(#)DragGestureListener.java 1.11 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8
9
10 package java.awt.dnd;
11
12 import java.util.EventListener JavaDoc;
13
14 /**
15  * This interface is sourced from a <code>DragGestureRecognizer</code>
16  * and is invoked
17  * when an object of that (sub)class detects a drag initiating
18  * gesture.
19  * <p>
20  * The implementor of this interface is responsible for starting the drag
21  * as a result of receiving such notification.
22  *
23  * @see java.awt.dnd.DragGestureRecognizer
24  * @see java.awt.dnd.DragGestureEvent
25  * @see java.awt.dnd.DragSource
26  */

27
28  public interface DragGestureListener extends EventListener JavaDoc {
29
30     /**
31      * A <code>DragGestureRecognizer</code> has detected
32      * a platform-dependent drag initiating gesture and
33      * is notifying this listener
34      * in order for it to initiate the action for the user.
35      * <P>
36      * @param dge the <code>DragGestureEvent</code> describing
37      * the gesture that has just occurred
38      */

39
40      void dragGestureRecognized(DragGestureEvent JavaDoc dge);
41 }
42
Popular Tags