public class MouseOnJTag extends EventOnJTag
| Constructor and Description |
|---|
MouseOnJTag(java.lang.Class tagClass,
int button)
Builds a mouse transition with no modifier on tagged component that loops on the current state.
|
MouseOnJTag(java.lang.Class tagClass,
int button,
int modifier)
Builds a mouse transition on tagged component that loops on the current state.
|
MouseOnJTag(java.lang.Class tagClass,
int button,
int modifier,
java.lang.String outState)
Builds a mouse transition on tagged component.
|
MouseOnJTag(java.lang.Class tagClass,
int button,
java.lang.String outState)
Builds a mouse transition with no modifier on tagged component.
|
MouseOnJTag(JTag tag,
int button)
Builds a mouse transition with no modifier on tagged component that loops on the current state.
|
MouseOnJTag(JTag tag,
int button,
int modifier)
Builds a mouse transition on tagged component that loops on the current state.
|
MouseOnJTag(JTag tag,
int button,
int modifier,
java.lang.String outState)
Builds a mouse transition on tagged component.
|
MouseOnJTag(JTag tag,
int button,
java.lang.String outState)
Builds a mouse transition with no modifier on tagged component.
|
MouseOnJTag(java.lang.String tagName,
int button)
Builds a mouse transition with no modifier on tagged component that loops on the current state.
|
MouseOnJTag(java.lang.String tagName,
int button,
int modifier)
Builds a mouse transition on tagged component that loops on the current state.
|
MouseOnJTag(java.lang.String tagName,
int button,
int modifier,
java.lang.String outState)
Builds a mouse transition on tagged component.
|
MouseOnJTag(java.lang.String tagName,
int button,
java.lang.String outState)
Builds a mouse transition with no modifier on tagged component.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getButton()
Returns the button of the mouse event that fires this transition.
|
java.awt.Component |
getComponent()
Returns the component on which the mouse event firing this transition has occured.
|
java.awt.geom.Point2D |
getPoint()
Returns the location at which this transition has occured.
|
java.lang.String |
toString() |
getTag, getTagName, matchesgetPointInComponentgetClassEventaction, getEvent, getInputState, getOutputState, guard, manageEventID, oldToString, pickingRequired, setTriggeringEventpublic MouseOnJTag(JTag tag, int button, int modifier, java.lang.String outState)
tag - The tagbutton - The button of the mouse event: NOBUTTON, BUTTON1, BUTTON2 or BUTTON3outState - The name of the output statemodifier - The modifier: NOMODIFIER, CONTROL, ALT, SHIFT, ALT_CONTROL, CONTROL_SHIFT, ALT_SHIFT or ALT_CONTROL_SHIFTpublic MouseOnJTag(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 MouseOnJTag(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 MouseOnJTag(JTag tag, int button)
tag - The tagbutton - The button of the mouse event: NOBUTTON, BUTTON1, BUTTON2 or BUTTON3public MouseOnJTag(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 BUTTON3outState - The name of the output statemodifier - The modifier: NOMODIFIER, CONTROL, ALT, SHIFT, ALT_CONTROL, CONTROL_SHIFT, ALT_SHIFT or ALT_CONTROL_SHIFTpublic MouseOnJTag(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 MouseOnJTag(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 MouseOnJTag(java.lang.String tagName,
int button)
tagName - The name of the tagbutton - The button of the mouse event: NOBUTTON, BUTTON1, BUTTON2 or BUTTON3public MouseOnJTag(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 BUTTON3outState - The name of the output statemodifier - The modifier: NOMODIFIER, CONTROL, ALT, SHIFT, ALT_CONTROL, CONTROL_SHIFT, ALT_SHIFT or ALT_CONTROL_SHIFTpublic MouseOnJTag(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 MouseOnJTag(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 MouseOnJTag(java.lang.Class tagClass,
int button)
tagClass - The class of the tagbutton - The button of the mouse event: NOBUTTON, BUTTON1, BUTTON2 or BUTTON3public int getButton()
public java.lang.String toString()
toString in class EventOnJTagpublic java.awt.geom.Point2D getPoint()
getPoint in class EventOnPositionpublic java.awt.Component getComponent()
getComponent in class EventOnComponent