|
|||||||||||
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.EventOnPosition
sm.StateMachine.State.MouseOnPosition
sm.StateMachine.State.Press
A transition triggered by a mouse pressed event anywhere in the canvas.
Constructor Summary | |
StateMachine.State.Press(int b)
Constructs a transition triggered by a mouse pressed event with any modifier that loops on the current state. |
|
StateMachine.State.Press(int b,
int m)
Constructs a transition triggered by a mouse pressed event that loops on the current state. |
|
StateMachine.State.Press(int b,
int m,
java.lang.String a)
Constructs a transition triggered by a mouse pressed event. |
|
StateMachine.State.Press(int b,
java.lang.String a)
Constructs a transition triggered by a mouse pressed event with any modifier . |
Methods inherited from class sm.StateMachine.State.MouseOnPosition |
getButton |
Methods inherited from class sm.StateMachine.State.EventOnPosition |
getInputEvent, getPoint, hashKey, setInputEvent |
Methods inherited from class sm.StateMachine.State.Transition |
action, getModifier, getOutputStateName, getVirtualEvent, guard, oldToString, setVirtualEvent, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public StateMachine.State.Press(int b)
b
- The button of the mouse event: NOBUTTON, BUTTON1, BUTTON2 or BUTTON3public StateMachine.State.Press(int b, int m)
b
- The button of the mouse event: NOBUTTON, BUTTON1, BUTTON2 or BUTTON3m
- The modifier: NOMODIFIER, CONTROL, ALT, SHIFT, ALT_CONTROL, CONTROL_SHIFT, ALT_SHIFT or ALT_CONTROL_SHIFTpublic StateMachine.State.Press(int b, java.lang.String a)
b
- The button of the mouse event: NOBUTTON, BUTTON1, BUTTON2 or BUTTON3a
- The name of the output statepublic StateMachine.State.Press(int b, int m, java.lang.String a)
b
- The button of the mouse event: NOBUTTON, BUTTON1, BUTTON2 or BUTTON3m
- The modifier: NOMODIFIER, CONTROL, ALT, SHIFT, ALT_CONTROL, CONTROL_SHIFT, ALT_SHIFT or ALT_CONTROL_SHIFTa
- The name of the output state
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |