|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.richclient.text.TextComponentPopup.DefaultKeymap
public static class TextComponentPopup.DefaultKeymap
We need this class since keymaps are shared in jvm This class is a 100% copy of the jdk class {@link JTextComponent#DefaultKeymap
Method Summary | |
---|---|
void |
addActionForKeyStroke(KeyStroke key,
Action a)
|
Action |
getAction(KeyStroke key)
|
Action[] |
getBoundActions()
|
KeyStroke[] |
getBoundKeyStrokes()
|
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. |
KeyStroke[] |
getKeyStrokesForAction(Action a)
|
String |
getName()
|
Keymap |
getResolveParent()
|
boolean |
isLocallyDefined(KeyStroke key)
|
void |
removeBindings()
|
void |
removeKeyStrokeBinding(KeyStroke key)
|
void |
setDefaultAction(Action a)
Set the default action to fire if a key is typed. |
void |
setResolveParent(Keymap parent)
|
String |
toString()
String representation of the keymap... |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public Action getDefaultAction()
getDefaultAction
in interface Keymap
public void setDefaultAction(Action a)
setDefaultAction
in interface Keymap
public String getName()
getName
in interface Keymap
public Action getAction(KeyStroke key)
getAction
in interface Keymap
public KeyStroke[] getBoundKeyStrokes()
getBoundKeyStrokes
in interface Keymap
public Action[] getBoundActions()
getBoundActions
in interface Keymap
public KeyStroke[] getKeyStrokesForAction(Action a)
getKeyStrokesForAction
in interface Keymap
public boolean isLocallyDefined(KeyStroke key)
isLocallyDefined
in interface Keymap
public void addActionForKeyStroke(KeyStroke key, Action a)
addActionForKeyStroke
in interface Keymap
public void removeKeyStrokeBinding(KeyStroke key)
removeKeyStrokeBinding
in interface Keymap
public void removeBindings()
removeBindings
in interface Keymap
public Keymap getResolveParent()
getResolveParent
in interface Keymap
public void setResolveParent(Keymap parent)
setResolveParent
in interface Keymap
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |