com.raelity.jvi.swing
Class CommandLine.FilteredKeymap

java.lang.Object
  extended by com.raelity.jvi.swing.CommandLine.FilteredKeymap
All Implemented Interfaces:
Keymap
Enclosing class:
CommandLine

public static class CommandLine.FilteredKeymap
extends Object
implements Keymap


Constructor Summary
CommandLine.FilteredKeymap(Keymap keyMap)
          Creates a new instance of FilteredKeymap
 
Method Summary
 void addActionForKeyStroke(KeyStroke key, Action a)
           
 Action getAction(KeyStroke key)
           
 Action[] getBoundActions()
           
 KeyStroke[] getBoundKeyStrokes()
           
 Action getDefaultAction()
           
 KeyStroke[] getKeyStrokesForAction(Action a)
           
 String getName()
           
 Keymap getResolveParent()
           
 boolean isLocallyDefined(KeyStroke key)
           
 void removeBindings()
           
 void removeKeyStrokeBinding(KeyStroke keys)
           
 void setDefaultAction(Action a)
           
 void setResolveParent(Keymap parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandLine.FilteredKeymap

public CommandLine.FilteredKeymap(Keymap keyMap)
Creates a new instance of FilteredKeymap

Method Detail

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