public class DragOnShape extends MouseOnShape
| Constructor and Description |
|---|
DragOnShape()
Builds a transition triggered by a mouse dragged event with any
modifier and any button on a CShape that loops on the current state.
|
DragOnShape(int button)
Builds a transition triggered by a mouse dragged event with any
modifier on a shape that loops on the current state.
|
DragOnShape(int button,
int modifier)
Builds a transition triggered by a mouse dragged event on a shape
that loops on the current state.
|
DragOnShape(int button,
int modifier,
java.lang.String outState)
Builds a transition triggered by a mouse dragged event on a shape.
|
DragOnShape(int button,
java.lang.String outState)
Builds a transition triggered by a mouse dragged event with any
modifier on a shape.
|
DragOnShape(java.lang.String outState)
Builds a transition triggered by a mouse dragged 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, toStringpickingRequiredgetClassEventaction, getEvent, getInputState, getOutputState, guard, manageEventID, oldToString, setTriggeringEventpublic DragOnShape()
public DragOnShape(java.lang.String outState)
outState - The name of the output statepublic DragOnShape(int button)
button - The button of the mouse event: NOBUTTON, BUTTON1, BUTTON2
or BUTTON3public DragOnShape(int button,
int modifier)
button - The button of the mouse event: NOBUTTON, BUTTON1, BUTTON2
or BUTTON3modifier - The modifier: NOMODIFIER, CONTROL, ALT, SHIFT,
ALT_CONTROL, CONTROL_SHIFT, ALT_SHIFT or ALT_CONTROL_SHIFTpublic DragOnShape(int button,
java.lang.String outState)
button - The button of the mouse event: NOBUTTON, BUTTON1, BUTTON2
or BUTTON3outState - The name of the output statepublic DragOnShape(int button,
int modifier,
java.lang.String outState)
button - The button of the mouse event: NOBUTTON, BUTTON1, BUTTON2
or BUTTON3modifier - 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 EventOnShapeeventObject - The event to testeventObject
can trigger this transition.