KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > swing > event > MenuDragMouseListener


1 /*
2  * @(#)MenuDragMouseListener.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 package javax.swing.event;
8
9
10 import java.util.EventListener JavaDoc;
11
12
13 /**
14  * Defines a menu mouse-drag listener.
15  *
16  * @version 1.11 12/19/03
17  * @author Georges Saab
18  */

19 public interface MenuDragMouseListener extends EventListener JavaDoc {
20     /**
21      * Invoked when the dragged mouse has entered a menu component's
22      * display area.
23      *
24      * @param e a MenuDragMouseEvent object
25      */

26     void menuDragMouseEntered(MenuDragMouseEvent JavaDoc e);
27     /**
28      * Invoked when the dragged mouse has left a menu component's
29      * display area.
30      *
31      * @param e a MenuDragMouseEvent object
32      */

33     void menuDragMouseExited(MenuDragMouseEvent JavaDoc e);
34     /**
35      * Invoked when the mouse is being dragged in a menu component's
36      * display area.
37      *
38      * @param e a MenuDragMouseEvent object
39      */

40     void menuDragMouseDragged(MenuDragMouseEvent JavaDoc e);
41     /**
42      * Invoked when a dragged mouse is release in a menu component's
43      * display area.
44      *
45      * @param e a MenuDragMouseEvent object
46      */

47     void menuDragMouseReleased(MenuDragMouseEvent JavaDoc e);
48 }
49
50
Popular Tags