Class MenuKeyProcessor

java.lang.Object
docking.menu.keys.MenuKeyProcessor

public class MenuKeyProcessor extends Object
Handles the processing of key events while menus or popup menus are open.
  • Constructor Details

    • MenuKeyProcessor

      public MenuKeyProcessor()
  • Method Details

    • processMenuKeyEvent

      public static boolean processMenuKeyEvent(KeyEvent event)
      Checks the given event to see if it has a registered action to perform while a menu is open. If a menu is open and a handler exists, the handler will be called.
      Parameters:
      event - the event to check
      Returns:
      true if the event triggered a handler