|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| 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 Keymappublic void setDefaultAction(Action a)
setDefaultAction in interface Keymappublic String getName()
getName in interface Keymappublic Action getAction(KeyStroke key)
getAction in interface Keymappublic KeyStroke[] getBoundKeyStrokes()
getBoundKeyStrokes in interface Keymappublic Action[] getBoundActions()
getBoundActions in interface Keymappublic KeyStroke[] getKeyStrokesForAction(Action a)
getKeyStrokesForAction in interface Keymappublic boolean isLocallyDefined(KeyStroke key)
isLocallyDefined in interface Keymap
public void addActionForKeyStroke(KeyStroke key,
Action a)
addActionForKeyStroke in interface Keymappublic void removeKeyStrokeBinding(KeyStroke key)
removeKeyStrokeBinding in interface Keymappublic void removeBindings()
removeBindings in interface Keymappublic Keymap getResolveParent()
getResolveParent in interface Keymappublic void setResolveParent(Keymap parent)
setResolveParent in interface Keymappublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||