public class EnterOnShape extends MouseOnShape
Constructor and Description |
---|
EnterOnShape()
Builds a transition triggered when the cursor enters with any
modifier into a CShape.
|
EnterOnShape(int modifier)
Builds a transition triggered when the cursor enters into a CShape
that loops on the current state.
|
EnterOnShape(java.lang.String outState)
Builds a transition triggered when the cursor enters with any
modifier into a CShape.
|
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, getShape, toString
pickingRequired
getClassEvent
action, getEvent, getInputState, getOutputState, guard, manageEventID, oldToString, setTriggeringEvent
public EnterOnShape()
public EnterOnShape(int modifier)
modifier
- The modifier: NOMODIFIER, CONTROL, ALT, SHIFT,
ALT_CONTROL, CONTROL_SHIFT, ALT_SHIFT or ALT_CONTROL_SHIFTpublic EnterOnShape(java.lang.String outState)
outState
- The name of the output statepublic boolean matches(java.util.EventObject eventObject)
matches
in class EventOnShape
eventObject
- The event to testeventObject
can trigger this transition.