Package docking.action

# Class KeyBindingsManager

java.lang.Object
docking.action.KeyBindingsManager

All Implemented Interfaces:
  `PropertyChangeListener`, `EventListener`

public class KeyBindingsManager extends Object implements PropertyChangeListener
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

  Constructors
  Constructor
  Description
  `KeyBindingsManager(Tool tool)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addAction(ComponentProvider optionalProvider, DockingActionIf action)`
  `void`
  `addReservedAction(DockingActionIf action)`
  `void`
  `addReservedAction(DockingActionIf action, KeyStroke ks)`
  `void`
  `dispose()`
  `Action`
  `getDockingKeyAction(KeyStroke keyStroke)`
  `void`
  `propertyChange(PropertyChangeEvent evt)`
  `void`
  `removeAction(DockingActionIf action)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### KeyBindingsManager

    public KeyBindingsManager(Tool tool)

- ## Method Details

  - ### addAction

    public void addAction(ComponentProvider optionalProvider, DockingActionIf action)

  - ### addReservedAction

    public void addReservedAction(DockingActionIf action)

  - ### addReservedAction

    public void addReservedAction(DockingActionIf action, KeyStroke ks)

  - ### removeAction

    public void removeAction(DockingActionIf action)

  - ### propertyChange

    public void propertyChange(PropertyChangeEvent evt)
    Specified by:
      `propertyChange` in interface `PropertyChangeListener`

  - ### getDockingKeyAction

    public Action getDockingKeyAction(KeyStroke keyStroke)

  - ### dispose

    public void dispose()