|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.ide.keyboard.KeyStrokeMap
The KeyStrokeMap maps Keystrokes to action binding objects.
KeyStrokeMap does not extend a real Map but implements most of the Map
methods.
Constructor Summary | |
KeyStrokeMap()
|
Method Summary | |
void |
assign(KeyStrokeMap source)
Assing the content of source to this. |
KeyStrokeMap |
cloneObject()
note: does not clone the listeners |
java.lang.Integer |
getBindingFor(KeyStrokes kss)
|
java.util.ArrayList |
getData()
|
java.util.List |
getKeyStrokesFor(int bind)
Finds which KeyStrokes are mapped with the bind value. |
java.util.List |
getKeyStrokesFor(java.lang.Integer bind)
Finds which KeyStrokes are mapped with the bind value. |
java.util.List |
getKeyStrokesStartingWith(KeyStrokes kss)
|
java.util.Set |
keySet()
|
void |
put(KeyStrokes key,
java.lang.Integer bind)
Add a mapping from an accelerator to a command |
void |
putAll(KeyStrokeMap ksm)
Add all the mappings in ksm to this map. |
void |
remove(KeyStrokes key)
Removes the mapping for this KeyStrokes |
void |
setData(java.util.ArrayList data)
|
boolean |
solvePostponedLoad()
Call this method if you want to postpone the definition of your local actions. |
java.util.Collection |
values()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public KeyStrokeMap()
Method Detail |
public KeyStrokeMap cloneObject()
public void assign(KeyStrokeMap source)
public void put(KeyStrokes key, java.lang.Integer bind)
key
- the acceleratorbind
- the IdeAction.getCommandId()public void putAll(KeyStrokeMap ksm)
public void remove(KeyStrokes key)
public java.util.Set keySet()
public java.util.Collection values()
public java.util.List getKeyStrokesFor(java.lang.Integer bind)
bind
- the IdeAction.getCommandId() value
public java.util.List getKeyStrokesFor(int bind)
bind
- the IdeAction.getCommandId() value
public java.lang.Integer getBindingFor(KeyStrokes kss)
public java.util.List getKeyStrokesStartingWith(KeyStrokes kss)
public java.util.ArrayList getData()
public void setData(java.util.ArrayList data)
data
- an ArrayList of Pair(String command, KeyStrokes key)public boolean solvePostponedLoad()
Ide.getSettings().getKeyStrokeOptions().getLocalKeyMap(keyStrokeContext).solvePostponedLoad();
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.