Home » openjdk-7 » javax » swing » text » [javadoc | source]
javax.swing.text
static class: JTextComponent.DefaultKeymap [javadoc | source]
java.lang.Object
   javax.swing.text.JTextComponent$DefaultKeymap

All Implemented Interfaces:
    Keymap

Field Summary
 String nm     
 Keymap parent     
 Hashtable<KeyStroke, Action> bindings     
 Action defaultAction     
Constructor:
 DefaultKeymap(String nm,
    Keymap parent) 
Method from javax.swing.text.JTextComponent$DefaultKeymap Summary:
addActionForKeyStroke,   getAction,   getBoundActions,   getBoundKeyStrokes,   getDefaultAction,   getKeyStrokesForAction,   getName,   getResolveParent,   isLocallyDefined,   removeBindings,   removeKeyStrokeBinding,   setDefaultAction,   setResolveParent,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.swing.text.JTextComponent$DefaultKeymap Detail:
 public  void addActionForKeyStroke(KeyStroke key,
    Action a) 
 public Action getAction(KeyStroke key) 
 public Action[] getBoundActions() 
 public KeyStroke[] getBoundKeyStrokes() 
 public Action getDefaultAction() 
    Fetch the default action to fire if a key is typed (ie a KEY_TYPED KeyEvent is received) and there is no binding for it. Typically this would be some action that inserts text so that the keymap doesn't require an action for each possible key.
 public KeyStroke[] getKeyStrokesForAction(Action a) 
 public String getName() 
 public Keymap getResolveParent() 
 public boolean isLocallyDefined(KeyStroke key) 
 public  void removeBindings() 
 public  void removeKeyStrokeBinding(KeyStroke key) 
 public  void setDefaultAction(Action a) 
    Set the default action to fire if a key is typed.
 public  void setResolveParent(Keymap parent) 
 public String toString() 
    String representation of the keymap... potentially a very long string.