Package docking.menu.keys
Class MenuKeyProcessor
- java.lang.Object
-
- docking.menu.keys.MenuKeyProcessor
-
public class MenuKeyProcessor extends java.lang.Object
Handles the processing of key events while menus or popup menus are open.
-
-
Constructor Summary
Constructors Constructor Description MenuKeyProcessor()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
processMenuKeyEvent(java.awt.event.KeyEvent event)
Checks the given event to see if it has a registered action to perform while a menu is open.
-
-
-
Method Detail
-
processMenuKeyEvent
public static boolean processMenuKeyEvent(java.awt.event.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
-
-