public class ReleaseOnShape extends MouseOnShape
| Constructor and Description |
|---|
ReleaseOnShape()
Builds a transition triggered by a mouse released event with any
modifier and any button on a CShape that loops on the current state.
|
ReleaseOnShape(int button)
Builds a transition triggered by a mouse released event with any
modifier on a CShape that loops on the current state.
|
ReleaseOnShape(int button,
int modifier)
Builds a transition triggered by a mouse released event on a CShape
that loops on the current state.
|
ReleaseOnShape(int button,
int modifier,
java.lang.String outState)
Builds a transition triggered by a mouse released event on a CShape.
|
ReleaseOnShape(int button,
java.lang.String outState)
Builds a transition triggered by a mouse released event with any
modifier on a CShape.
|
ReleaseOnShape(java.lang.String outState)
Builds a transition triggered by a mouse released event with any
modifier and any button 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 ReleaseOnShape()
public ReleaseOnShape(java.lang.String outState)
outState - The name of the output statepublic ReleaseOnShape(int button)
button - The button of the mouse event: NOBUTTON, BUTTON1, BUTTON2
or BUTTON3public ReleaseOnShape(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 ReleaseOnShape(int button,
java.lang.String outState)
button - The button of the mouse event: NOBUTTON, BUTTON1, BUTTON2
or BUTTON3outState - The name of the output statepublic ReleaseOnShape(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.