resetKeyboardActions
public void resetKeyboardActions()
Unregisters all the bindings in the first tier InputMaps and ActionMap. This has the effect of removing any local bindings, and allowing the bindings defined in parent InputMap/ActionMaps (the UI is usually defined in the second tier) to persist.
getInputMap
public final InputMap getInputMap(int condition)
Returns the InputMap that is used during condition.
Parameters:
condition - one of WHEN_IN_FOCUSED_WINDOW, WHEN_FOCUSED, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT
Returns:
the InputMap for the specified condition
Since:
1.3
getInputMap
public final InputMap getInputMap()
Returns the InputMap that is used when the component has focus. This is convenience method for getInputMap(WHEN_FOCUSED).
Returns:
the InputMap used when the component has focus
Since:
1.3