com.raelity.jvi.swing
Class CommandLine.FilteredKeymap
java.lang.Object
com.raelity.jvi.swing.CommandLine.FilteredKeymap
- All Implemented Interfaces:
- Keymap
- Enclosing class:
- CommandLine
public static class CommandLine.FilteredKeymap
- extends Object
- implements Keymap
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandLine.FilteredKeymap
public CommandLine.FilteredKeymap(Keymap keyMap)
- Creates a new instance of FilteredKeymap
addActionForKeyStroke
public void addActionForKeyStroke(KeyStroke key,
Action a)
- Specified by:
addActionForKeyStroke in interface Keymap
getAction
public Action getAction(KeyStroke key)
- Specified by:
getAction in interface Keymap
getBoundActions
public Action[] getBoundActions()
- Specified by:
getBoundActions in interface Keymap
getBoundKeyStrokes
public KeyStroke[] getBoundKeyStrokes()
- Specified by:
getBoundKeyStrokes in interface Keymap
getDefaultAction
public Action getDefaultAction()
- Specified by:
getDefaultAction in interface Keymap
getKeyStrokesForAction
public KeyStroke[] getKeyStrokesForAction(Action a)
- Specified by:
getKeyStrokesForAction in interface Keymap
getName
public String getName()
- Specified by:
getName in interface Keymap
getResolveParent
public Keymap getResolveParent()
- Specified by:
getResolveParent in interface Keymap
isLocallyDefined
public boolean isLocallyDefined(KeyStroke key)
- Specified by:
isLocallyDefined in interface Keymap
removeBindings
public void removeBindings()
- Specified by:
removeBindings in interface Keymap
removeKeyStrokeBinding
public void removeKeyStrokeBinding(KeyStroke keys)
- Specified by:
removeKeyStrokeBinding in interface Keymap
setDefaultAction
public void setDefaultAction(Action a)
- Specified by:
setDefaultAction in interface Keymap
setResolveParent
public void setResolveParent(Keymap parent)
- Specified by:
setResolveParent in interface Keymap