| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.keyboard.KeyStrokeMap
public final class 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()
 | 
 boolean | 
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 | 
removeAll(KeyStrokeMap ksm)
Remove all the mappings in ksm from this map.  | 
 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 boolean put(KeyStrokes key,
                   java.lang.Integer bind)
key - the acceleratorbind - the IdeAction.getCommandId()public void putAll(KeyStrokeMap ksm)
public void removeAll(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();
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||