|
qflib 0.99 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.qfs.lib.gui.EventNames
This class provides a mapping from the ids of some AwtEvents to their names and vice versa.
Field Summary | |
protected static java.util.Map |
ids
Map event names to event ids. |
protected static java.util.Map |
names
Map event ids to event names. |
Constructor Summary | |
EventNames()
|
Method Summary | |
static int |
getId(java.lang.String name)
Get the id of an event. |
static java.lang.String |
getName(int id)
Get the name of an event. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static java.util.Map names
protected static java.util.Map ids
Constructor Detail |
public EventNames()
Method Detail |
public static java.lang.String getName(int id)
id
- The id of the event.
public static int getId(java.lang.String name)
name
- The name of the event.
|
qflib 0.99 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |