public class Move extends MouseOnPosition
Constructor and Description |
---|
Move()
Builds a transition triggered by a mouse moved event with any modifier that loops on the current state.
|
Move(int m)
Builds a transition triggered by a mouse moved event that loops on the current state.
|
Move(int m,
java.lang.String outState)
Builds a transition triggered by a mouse moved event.
|
Move(java.lang.String outState)
Builds a transition triggered by a mouse moved event with any modifier.
|
Modifier and Type | Method and Description |
---|---|
boolean |
matches(java.util.EventObject eventObject)
Tests if an event can trigger that transition.
|
getButton, getInputEvent, getModifier, getMouseEvent, getPoint, toString
getClassEvent
action, getEvent, getInputState, getOutputState, guard, manageEventID, oldToString, pickingRequired, setTriggeringEvent
public Move()
public Move(int m)
m
- The modifier: NOMODIFIER, CONTROL, ALT, SHIFT, ALT_CONTROL, CONTROL_SHIFT, ALT_SHIFT or ALT_CONTROL_SHIFTpublic Move(java.lang.String outState)
outState
- The name of the output statepublic Move(int m, java.lang.String outState)
m
- The modifier: NOMODIFIER, CONTROL, ALT, SHIFT, ALT_CONTROL, CONTROL_SHIFT, ALT_SHIFT or ALT_CONTROL_SHIFToutState
- The name of the output statepublic boolean matches(java.util.EventObject eventObject)
matches
in class MouseOnPosition
eventObject
- The event to testeventObject
can trigger this transition.