| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.keyboard.KeyStrokeContextRegistry
public final class KeyStrokeContextRegistry
The KeyStrokeContextRegistry is a collection of KeyStrokeContext. The class supports CollectionListeners
CollectionListener| Constructor Summary | |
|---|---|
KeyStrokeContextRegistry()
Constructor  | 
|
| Method Summary | |
|---|---|
 void | 
addAcceleratorDefinitionFile(java.lang.ClassLoader classLoader,
                             java.lang.String fileName)
Adds an accelerator definition file.  | 
 void | 
addContext(KeyStrokeContext ksc)
Add a context to the list of known context.  | 
 void | 
addListener(CollectionListener l)
Adds a CollectionListener  | 
 java.util.Iterator | 
getAllContexts()
 | 
 java.util.Set | 
getAllPresets()
 | 
 KeyStrokeContext | 
getContext(java.lang.String sName)
Searches the KeyStrokeContext with the specified name.  | 
 void | 
removeAcceleratorDefinitionFile(java.lang.ClassLoader classLoader,
                                java.lang.String fileName)
Remove context  | 
 void | 
removeContext(KeyStrokeContext ksc)
Remove a context to the list of known context.  | 
 void | 
removeListener(CollectionListener l)
Removes a CollectionListener  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public KeyStrokeContextRegistry()
| Method Detail | 
|---|
public void addListener(CollectionListener l)
CollectionListenerpublic void removeListener(CollectionListener l)
CollectionListenerpublic void addContext(KeyStrokeContext ksc)
public void removeContext(KeyStrokeContext ksc)
public void addAcceleratorDefinitionFile(java.lang.ClassLoader classLoader,
                                         java.lang.String fileName)
classLoader - The accelerator file is loaded using ClassLoader.getResourceAsStream(String fileName).fileName - the name of the kdf file that contains the accelerator definitions
public void removeAcceleratorDefinitionFile(java.lang.ClassLoader classLoader,
                                            java.lang.String fileName)
fileName - public KeyStrokeContext getContext(java.lang.String sName)
public java.util.Iterator getAllContexts()
public java.util.Set getAllPresets()
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1) E13403-03  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||