Package docking.action
Class KeyBindingsManager
java.lang.Object
docking.action.KeyBindingsManager
- All Implemented Interfaces:
PropertyChangeListener
,EventListener
A class that organizes system key bindings by mapping them to assigned
DockingActionIf
s.
This class understands reserved system key bindings. For non-reserved key bindings, this class knows how to map a single key binding to multiple actions.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAction
(ComponentProvider optionalProvider, DockingActionIf action) void
addSystemAction
(DockingActionIf action) void
dispose()
getDockingAction
(MouseBinding mouseBinding) getDockingAction
(KeyStroke keyStroke) getSystemAction
(String fullName) boolean
isSystemAction
(DockingActionIf action) void
void
removeAction
(DockingActionIf action) validateActionKeyBinding
(DockingActionIf dockingAction, KeyStroke ks)
-
Constructor Details
-
KeyBindingsManager
-
-
Method Details
-
addAction
-
addSystemAction
-
removeAction
-
validateActionKeyBinding
-
propertyChange
- Specified by:
propertyChange
in interfacePropertyChangeListener
-
getDockingAction
-
getDockingAction
-
isSystemAction
-
getSystemAction
-
getSystemActions
-
dispose
public void dispose()
-