|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.lri.swingstates.sm.Transition
fr.lri.swingstates.sm.transitions.Event
fr.lri.swingstates.sm.transitions.EventOnPosition
fr.lri.swingstates.canvas.CStateMachine.EventOnShape
fr.lri.swingstates.canvas.CStateMachine.MouseOnShape
fr.lri.swingstates.canvas.CStateMachine.MoveOnShape
public class CStateMachine.MoveOnShape
A transition triggered by a mouse moved event on a CShape with no mouse button down.
| Constructor Summary | |
|---|---|
CStateMachine.MoveOnShape()
Builds a transition triggered by a mouse moved event with mo modifier down on a CShape that loops on the current state. |
|
CStateMachine.MoveOnShape(int modifier)
Builds a transition triggered by a mouse moved event on a CShape that loops on the current state. |
|
CStateMachine.MoveOnShape(int modifier,
java.lang.String outState)
Builds a transition triggered by a mouse moved event on a CShape. |
|
CStateMachine.MoveOnShape(java.lang.String outState)
Builds a transition triggered by a mouse moved event with any modifier on a CShape. |
|
| Method Summary | |
|---|---|
boolean |
matches(java.util.EventObject eventObject)
Tests if an event can trigger that transition. |
| Methods inherited from class fr.lri.swingstates.canvas.CStateMachine.MouseOnShape |
|---|
getButton, getInputEvent, getModifier, getMouseEvent, getPoint, getShape, toString |
| Methods inherited from class fr.lri.swingstates.sm.Transition |
|---|
action, getEvent, getInputState, getOutputState, guard, oldToString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CStateMachine.MoveOnShape()
public CStateMachine.MoveOnShape(int modifier)
modifier - The modifier: NOMODIFIER, CONTROL, ALT, SHIFT,
ALT_CONTROL, CONTROL_SHIFT, ALT_SHIFT or ALT_CONTROL_SHIFTpublic CStateMachine.MoveOnShape(java.lang.String outState)
outState - The name of the output state
public CStateMachine.MoveOnShape(int modifier,
java.lang.String outState)
modifier - The modifier: NOMODIFIER, CONTROL, ALT, SHIFT,
ALT_CONTROL, CONTROL_SHIFT, ALT_SHIFT or ALT_CONTROL_SHIFToutState - The name of the output state| Method Detail |
|---|
public boolean matches(java.util.EventObject eventObject)
matches in class CStateMachine.EventOnShapeeventObject - The event to test
eventObject
can trigger this transition.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||