MenuKeyListener (Java SE 15 & JDK 15)
Description: declaration: module: java.desktop, package: javax.swing.event, interface: MenuKeyListener
Keywords: javax.swing.event.MenuKeyListener interface

Module java.desktop
Package javax.swing.event

# Interface MenuKeyListener

All Superinterfaces:
  `EventListener`

    public interface MenuKeyListener
    extends EventListener

MenuKeyListener

- ## Method Summary

  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.

- ## Method Details

  - ### 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` - a `MenuKeyEvent`

  - ### menuKeyPressed

    void menuKeyPressed​(MenuKeyEvent e)
    Invoked when a key has been pressed.
    Parameters:
      `e` - a `MenuKeyEvent`

  - ### menuKeyReleased

    void menuKeyReleased​(MenuKeyEvent e)
    Invoked when a key has been released.
    Parameters:
      `e` - a `MenuKeyEvent`