sm
Class StateMachine.State.LeaveOnShape

java.lang.Object
  extended bysm.StateMachine.State.Transition
      extended bysm.StateMachine.State.EventOnPosition
          extended bysm.StateMachine.State.EventOnShape
              extended bysm.StateMachine.State.LeaveOnShape
Enclosing class:
StateMachine.State

public class StateMachine.State.LeaveOnShape
extends StateMachine.State.EventOnShape

A transition triggered with no modifier on a SMShape.

Author:
Caroline Appert

Constructor Summary
StateMachine.State.LeaveOnShape()
          Constructs a transition triggered when the cursor leaves with any modifier an SMShape.
StateMachine.State.LeaveOnShape(int m)
          Constructs a transition triggered when the cursor leaves an SMShape that loops on the current state.
StateMachine.State.LeaveOnShape(java.lang.String a)
          Constructs a transition triggered when the cursor leaves with any modifier an SMShape.
 
Methods inherited from class sm.StateMachine.State.EventOnShape
getShape, hashKey, toString
 
Methods inherited from class sm.StateMachine.State.EventOnPosition
getInputEvent, getPoint, setInputEvent
 
Methods inherited from class sm.StateMachine.State.Transition
action, getModifier, getOutputStateName, getVirtualEvent, guard, oldToString, setVirtualEvent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StateMachine.State.LeaveOnShape

public StateMachine.State.LeaveOnShape()
Constructs a transition triggered when the cursor leaves with any modifier an SMShape.


StateMachine.State.LeaveOnShape

public StateMachine.State.LeaveOnShape(int m)
Constructs a transition triggered when the cursor leaves an SMShape that loops on the current state.

Parameters:
m - The modifier: NOMODIFIER, CONTROL, ALT, SHIFT, ALT_CONTROL, CONTROL_SHIFT, ALT_SHIFT or ALT_CONTROL_SHIFT

StateMachine.State.LeaveOnShape

public StateMachine.State.LeaveOnShape(java.lang.String a)
Constructs a transition triggered when the cursor leaves with any modifier an SMShape.

Parameters:
a - The name of the output state