|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
com.sas.models.KeyCollection
public class KeyCollection
A collection containing strings for all of the java.awt.event.KeyEvent key codes. There are also 2 static methods for determining the mapping between the string of the key code and the KeyEvent key code value.
KeyEvent,
Serialized Form| Field Summary |
|---|
| Fields inherited from class com.sas.collection.OrderedCollection |
|---|
RB_KEY |
| Fields inherited from class com.sas.collection.BaseCollection |
|---|
allContentsChangedListeners, mappingObject |
| Constructor Summary | |
|---|---|
KeyCollection()
|
|
| Method Summary | |
|---|---|
protected void |
createList()
Called by the construct to add all of the KeyEvent key codes to the collection. |
static int |
getKeyMapping(java.lang.String key)
Get the KeyEvent key code corresponding to the given string. |
static java.lang.String |
getStringMapping(int key)
Get the string corresponding to the given KeyEvent key code. |
| Methods inherited from class com.sas.collection.OrderedCollection |
|---|
add, add, addItems, addItems, append, apply, clone, clone, computeNewCapacity, contains, count, dumpComponent, equals, equals, get, getExtendedBeanInfo, getIndex, getItems, getItems, getLastIndex, moveHole, moveHoleEnsureCapacity, remove, removeAll, removeAll, removeAt, set, setSize, sort, sort, sort, sort, toArray, toArray, toString |
| Methods inherited from class com.sas.collection.BaseCollection |
|---|
addContentsChangedListener, anyContentsChangedListeners, disableEvents, enableEvents, enableEvents, fireContentsChanged, map, removeContentsChangedListener, unmap |
| Methods inherited from interface com.sas.collection.ContentsChangedSource |
|---|
addContentsChangedListener, removeContentsChangedListener |
| Methods inherited from interface com.sas.beans.PropertyChangeSource |
|---|
addPropertyChangeListener, removePropertyChangeListener |
| Constructor Detail |
|---|
public KeyCollection()
| Method Detail |
|---|
protected void createList()
public static java.lang.String getStringMapping(int key)
key - the KeyEvent key code
public static int getKeyMapping(java.lang.String key)
key - the string of the KeyEvent key code name
|
| Components |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||