public class PressOnJTag extends MouseOnJTag
Constructor and Description |
---|
PressOnJTag(java.lang.Class tagClass,
int button)
Builds a transition triggered by a mouse pressed event with any modifier on a tagged component that loops on the current state.
|
PressOnJTag(java.lang.Class tagClass,
int button,
int modifier)
Builds a transition triggered by a mouse pressed event on a tagged component that loops on the current state.
|
PressOnJTag(java.lang.Class tagClass,
int button,
int modifier,
java.lang.String outState)
Builds a transition triggered by a mouse pressed event on a tagged component.
|
PressOnJTag(java.lang.Class tagClass,
int button,
java.lang.String outState)
Builds a transition triggered by a mouse pressed event with any modifier on a tagged component.
|
PressOnJTag(JTag tag,
int button)
Builds a transition triggered by a mouse pressed event with any modifier on a tagged component that loops on the current state.
|
PressOnJTag(JTag tag,
int button,
int modifier)
Builds a transition triggered by a mouse pressed event on a tagged component that loops on the current state.
|
PressOnJTag(JTag tag,
int button,
int modifier,
java.lang.String outState)
Builds a transition triggered by a mouse pressed event on a tagged component.
|
PressOnJTag(JTag tag,
int button,
java.lang.String outState)
Builds a transition triggered by a mouse pressed event with any modifier on a tagged component.
|
PressOnJTag(java.lang.String tagName,
int button)
Builds a transition triggered by a mouse pressed event with any modifier on a tagged component that loops on the current state.
|
PressOnJTag(java.lang.String tagName,
int button,
int modifier)
Builds a transition triggered by a mouse pressed event on a tagged component that loops on the current state.
|
PressOnJTag(java.lang.String tagName,
int button,
int modifier,
java.lang.String outState)
Builds a transition triggered by a mouse pressed event on a tagged component.
|
PressOnJTag(java.lang.String tagName,
int button,
java.lang.String outState)
Builds a transition triggered by a mouse pressed event with any modifier on a tagged component.
|
Modifier and Type | Method and Description |
---|---|
boolean |
matches(java.util.EventObject eventObject)
Tests if an event can trigger that transition.
|
getButton, getComponent, getPoint, toString
getTag, getTagName
getPointInComponent
getClassEvent
action, getEvent, getInputState, getOutputState, guard, manageEventID, oldToString, pickingRequired, setTriggeringEvent
public PressOnJTag(java.lang.String tagName, int button)
tagName
- The name of the tagbutton
- The button of the mouse event: NOBUTTON, BUTTON1, BUTTON2 or BUTTON3public PressOnJTag(java.lang.Class tagClass, int button)
tagClass
- The class of the tagbutton
- The button of the mouse event: NOBUTTON, BUTTON1, BUTTON2 or BUTTON3public PressOnJTag(JTag tag, int button)
tag
- The tagbutton
- The button of the mouse event: NOBUTTON, BUTTON1, BUTTON2 or BUTTON3public PressOnJTag(java.lang.String tagName, int button, int modifier)
tagName
- The name of the tagbutton
- 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 PressOnJTag(java.lang.Class tagClass, int button, int modifier)
tagClass
- The class of the tagbutton
- 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 PressOnJTag(JTag tag, int button, int modifier)
tag
- The tagbutton
- 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 PressOnJTag(java.lang.String tagName, int button, java.lang.String outState)
tagName
- The name of the tagbutton
- The button of the mouse event: NOBUTTON, BUTTON1, BUTTON2 or BUTTON3outState
- The name of the output statepublic PressOnJTag(java.lang.Class tagClass, int button, java.lang.String outState)
tagClass
- The class of the tagbutton
- The button of the mouse event: NOBUTTON, BUTTON1, BUTTON2 or BUTTON3outState
- The name of the output statepublic PressOnJTag(JTag tag, int button, java.lang.String outState)
tag
- The tagbutton
- The button of the mouse event: NOBUTTON, BUTTON1, BUTTON2 or BUTTON3outState
- The name of the output statepublic PressOnJTag(java.lang.String tagName, int button, int modifier, java.lang.String outState)
tagName
- The name of the tagbutton
- 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 PressOnJTag(java.lang.Class tagClass, int button, int modifier, java.lang.String outState)
tagClass
- The class of the tagbutton
- 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 PressOnJTag(JTag tag, int button, int modifier, java.lang.String outState)
tag
- The tagbutton
- 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 EventOnJTag
eventObject
- The event to testeventObject
can trigger this transition.