public class LeaveOnShape extends MouseOnShape
Constructor and Description |
---|
LeaveOnShape()
Builds a transition triggered when the cursor leaves with any
modifier a CShape.
|
LeaveOnShape(int modifier)
Builds a transition triggered when the cursor leaves a CShape that
loops on the current state.
|
LeaveOnShape(java.lang.String outState)
Builds a transition triggered when the cursor leaves with any
modifier 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 LeaveOnShape()
public LeaveOnShape(int modifier)
modifier
- The modifier: NOMODIFIER, CONTROL, ALT, SHIFT,
ALT_CONTROL, CONTROL_SHIFT, ALT_SHIFT or ALT_CONTROL_SHIFTpublic LeaveOnShape(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.