Interface MenuKeyListener
- All Superinterfaces:
EventListener
public interface MenuKeyListener extends EventListener
MenuKeyListener
Methods
Modifier and Type | Method | Description |
---|---|---|
void | menuKeyPressed(MenuKeyEvent e) | Invoked when a key has been pressed. |
void | menuKeyReleased(MenuKeyEvent e) | Invoked when a key has been released. |
void | menuKeyTyped(MenuKeyEvent e) | Invoked when a key has been typed. |
Methods
menuKeyTyped
void menuKeyTyped(MenuKeyEvent e)
Invoked when a key has been typed. This event occurs when a key press is followed by a key release.
- Parameters:
-
e
- aMenuKeyEvent
menuKeyPressed
void menuKeyPressed(MenuKeyEvent e)
Invoked when a key has been pressed.
- Parameters:
-
e
- aMenuKeyEvent
menuKeyReleased
void menuKeyReleased(MenuKeyEvent e)
Invoked when a key has been released.
- Parameters:
-
e
- aMenuKeyEvent
© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/11/docs/api/java.desktop/javax/swing/event/MenuKeyListener.html