Package docking.menu.keys
Class MenuKeyProcessor
java.lang.Object
docking.menu.keys.MenuKeyProcessor
Handles the processing of key events while menus or popup menus are open.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
processMenuKeyEvent
(KeyEvent event) Checks the given event to see if it has a registered action to perform while a menu is open.
-
Constructor Details
-
MenuKeyProcessor
public MenuKeyProcessor()
-
-
Method Details
-
processMenuKeyEvent
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
-