public class MoveOnComponent extends MouseOnComponent
Constructor and Description |
---|
MoveOnComponent()
Builds a transition triggered by a mouse moved event with mo modifier down on a component that loops on the current state.
|
MoveOnComponent(int modifier)
Builds a transition triggered by a mouse motion event on a component that loops on the current state.
|
MoveOnComponent(int modifier,
java.lang.String outState)
Builds a transition triggered by a mouse motion event on a component.
|
MoveOnComponent(java.lang.String outState)
Builds a transition triggered by a mouse motion event with any modifier on a component.
|
Modifier and Type | Method and Description |
---|---|
boolean |
matches(java.util.EventObject eventObject)
Tests if an event can trigger that transition.
|
getButton, getComponent, getInputEvent, getPoint, toString
getPointInComponent
getClassEvent
action, getEvent, getInputState, getOutputState, guard, manageEventID, oldToString, pickingRequired, setTriggeringEvent
public MoveOnComponent()
public MoveOnComponent(int modifier)
modifier
- The modifier: NOMODIFIER, CONTROL, ALT, SHIFT, ALT_CONTROL, CONTROL_SHIFT, ALT_SHIFT or ALT_CONTROL_SHIFTpublic MoveOnComponent(java.lang.String outState)
outState
- The name of the output statepublic MoveOnComponent(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 EventOnComponent
eventObject
- The event to testeventObject
can trigger this transition.