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