|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jagacy.ui.KeyAction
Associates a key with an action.
Field Summary | |
static int |
BLINK_ACTION
|
static int |
REFRESH_ACTION
|
Constructor Summary | |
KeyAction(int action,
java.lang.String desc)
Creates a KeyAction object. |
|
KeyAction(Key key)
Creates a KeyAction object. |
|
KeyAction(Key key,
boolean isWait)
Creates a KeyAction object. |
|
KeyAction(Key key,
int action)
Creates a KeyAction object. |
|
KeyAction(java.lang.String symbol,
java.lang.String desc)
Creates a KeyAction object. |
Method Summary | |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int BLINK_ACTION
public static final int REFRESH_ACTION
Constructor Detail |
public KeyAction(Key key)
key
- Key to send.public KeyAction(Key key, boolean isWait)
key
- Key to send.isWait
- true if UI should wait; false otherwise.public KeyAction(Key key, int action)
key
- Key to send.action
- Action constant.public KeyAction(int action, java.lang.String desc)
action
- Action constant.desc
- Description of key.public KeyAction(java.lang.String symbol, java.lang.String desc)
symbol
- Character symbol to send.desc
- Description of key.Method Detail |
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |