|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsm.StateMachine.State.Transition
sm.StateMachine.State.KeyTransition
sm.StateMachine.State.KeyType
A transition triggered by a key typed event. A key typed event corresponds to the succession of a key press and a key release. Note however that the key press and key release are always sent. Keys can be specified either by the ASCII character they represent or by their keycode.
Constructor Summary | |
StateMachine.State.KeyType()
Constructs a transition triggered by a key typed event with any modifier that loops on the current state. |
|
StateMachine.State.KeyType(char c)
Constructs a transition triggered by a key typed event with any modifier that loops on the current state. |
|
StateMachine.State.KeyType(char c,
int m)
Constructs a transition triggered by a key typed event that loops on the current state. |
|
StateMachine.State.KeyType(char c,
int m,
java.lang.String a)
Constructs a transition triggered by a key typed event. |
|
StateMachine.State.KeyType(char c,
java.lang.String a)
Constructs a transition triggered by a key typed event with any modifier. |
|
StateMachine.State.KeyType(int k)
Constructs a transition with any modifier triggered by a key typed event that loops on the current state. |
|
StateMachine.State.KeyType(int k,
int m)
Constructs a transition triggered by a key typed event that loops on the current state. |
|
StateMachine.State.KeyType(int k,
int m,
java.lang.String a)
Constructs a transition triggered by a key typed event. |
|
StateMachine.State.KeyType(int k,
java.lang.String a)
Constructs a transition triggered by a key typed event with any modifier. |
|
StateMachine.State.KeyType(java.lang.String a)
Constructs a transition triggered by a key typed event with any modifier. |
Methods inherited from class sm.StateMachine.State.KeyTransition |
getChar, getInputEvent, getKeyCode, setChar, setInputEvent, setKeyCode |
Methods inherited from class sm.StateMachine.State.Transition |
action, getModifier, getOutputStateName, getVirtualEvent, guard, hashKey, oldToString, setVirtualEvent, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public StateMachine.State.KeyType(java.lang.String a)
a
- The name of the output statepublic StateMachine.State.KeyType()
public StateMachine.State.KeyType(char c, java.lang.String a)
c
- The char corresponding to the key eventa
- The name of the output statepublic StateMachine.State.KeyType(int k, java.lang.String a)
k
- The key code (ASCII) corresponding to the key eventa
- The name of the output statepublic StateMachine.State.KeyType(char c)
c
- The char corresponding to the key eventpublic StateMachine.State.KeyType(int k)
k
- The key code (ASCII) corresponding to the key eventpublic StateMachine.State.KeyType(char c, int m, java.lang.String a)
c
- The char corresponding to the key eventm
- The modifier: NOMODIFIER, CONTROL, ALT, SHIFT, ALT_CONTROL, CONTROL_SHIFT, ALT_SHIFT or ALT_CONTROL_SHIFTa
- The name of the output statepublic StateMachine.State.KeyType(int k, int m, java.lang.String a)
k
- The key code (ASCII) corresponding to the key eventm
- The modifier: NOMODIFIER, CONTROL, ALT, SHIFT, ALT_CONTROL, CONTROL_SHIFT, ALT_SHIFT or ALT_CONTROL_SHIFTa
- The name of the output statepublic StateMachine.State.KeyType(char c, int m)
c
- The char corresponding to the key eventm
- The modifier: NOMODIFIER, CONTROL, ALT, SHIFT, ALT_CONTROL, CONTROL_SHIFT, ALT_SHIFT or ALT_CONTROL_SHIFTpublic StateMachine.State.KeyType(int k, int m)
k
- The key code (ASCII) corresponding to the key eventm
- The modifier: NOMODIFIER, CONTROL, ALT, SHIFT, ALT_CONTROL, CONTROL_SHIFT, ALT_SHIFT or ALT_CONTROL_SHIFT
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |