public class EnterOnComponent extends MouseOnComponent
Constructor and Description |
---|
EnterOnComponent()
Builds an Enter transition with no modifier that loops on the current state.
|
EnterOnComponent(int modifier)
Builds an Enter transition that loops on the current state.
|
EnterOnComponent(int modifier,
java.lang.String outState)
Builds an Enter transition.
|
EnterOnComponent(java.lang.String outState)
Builds an Enter transition with no modifier.
|
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 EnterOnComponent(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 EnterOnComponent(int modifier)
modifier
- The modifier: NOMODIFIER, CONTROL, ALT, SHIFT, ALT_CONTROL, CONTROL_SHIFT, ALT_SHIFT or ALT_CONTROL_SHIFTpublic EnterOnComponent(java.lang.String outState)
outState
- The name of the output statepublic EnterOnComponent()
public boolean matches(java.util.EventObject eventObject)
matches
in class EventOnComponent
eventObject
- The event to testeventObject
can trigger this transition.