KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * @(#)MenuKeyListener.java 1.9 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  * MenuKeyListener
15  *
16  * @version 1.9 12/19/03
17  * @author Georges Saab
18  */

19 public interface MenuKeyListener extends EventListener JavaDoc {
20     /**
21      * Invoked when a key has been typed.
22      * This event occurs when a key press is followed by a key release.
23      */

24     void menuKeyTyped(MenuKeyEvent JavaDoc e);
25
26     /**
27      * Invoked when a key has been pressed.
28      */

29     void menuKeyPressed(MenuKeyEvent JavaDoc e);
30
31     /**
32      * Invoked when a key has been released.
33      */

34     void menuKeyReleased(MenuKeyEvent JavaDoc e);
35 }
36
37
Popular Tags