public class MoveOnShape extends MouseOnShape
Constructor and Description |
---|
MoveOnShape()
Builds a transition triggered by a mouse moved event with mo modifier
down on a CShape that loops on the current state.
|
MoveOnShape(int modifier)
Builds a transition triggered by a mouse moved event on a CShape that
loops on the current state.
|
MoveOnShape(int modifier,
java.lang.String outState)
Builds a transition triggered by a mouse moved event on a CShape.
|
MoveOnShape(java.lang.String outState)
Builds a transition triggered by a mouse moved event with any
modifier on a CShape.
|
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, getShape, toString
pickingRequired
getClassEvent
action, getEvent, getInputState, getOutputState, guard, manageEventID, oldToString, setTriggeringEvent
public MoveOnShape()
public MoveOnShape(int modifier)
modifier
- The modifier: NOMODIFIER, CONTROL, ALT, SHIFT,
ALT_CONTROL, CONTROL_SHIFT, ALT_SHIFT or ALT_CONTROL_SHIFTpublic MoveOnShape(java.lang.String outState)
outState
- The name of the output statepublic 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 statepublic boolean matches(java.util.EventObject eventObject)
matches
in class EventOnShape
eventObject
- The event to testeventObject
can trigger this transition.