sm
Class StateMachine.State.LeaveOnTag

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

public class StateMachine.State.LeaveOnTag
extends StateMachine.State.EventOnTag

A transition triggered when the cursor leaves a SMShape with a given tag.

Author:
Caroline Appert

Constructor Summary
StateMachine.State.LeaveOnTag(SMTag t)
          Constructs a transition triggered when the cursor leaves with any modifier a tagged shape.
StateMachine.State.LeaveOnTag(SMTag t, int m)
          Constructs a transition triggered when the cursor leaves a tagged shape.
StateMachine.State.LeaveOnTag(SMTag t, int m, java.lang.String a)
          Constructs a transition triggered when the cursor leaves a tagged shape.
StateMachine.State.LeaveOnTag(SMTag t, java.lang.String a)
          Constructs a transition triggered when the cursor leaves with any modifier a tagged shape.
StateMachine.State.LeaveOnTag(java.lang.String n)
          Constructs a transition triggered when the cursor leaves with any modifier a tagged shape.
StateMachine.State.LeaveOnTag(java.lang.String n, int m)
          Constructs a transition triggered when the cursor leaves a tagged shape.
StateMachine.State.LeaveOnTag(java.lang.String n, int m, java.lang.String a)
          Constructs a transition triggered when the cursor leaves a tagged shape.
StateMachine.State.LeaveOnTag(java.lang.String n, java.lang.String a)
          Constructs a transition triggered when the cursor leaves with any modifier a tagged shape.
 
Methods inherited from class sm.StateMachine.State.EventOnTag
getTagName, getTagObject
 
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.LeaveOnTag

public StateMachine.State.LeaveOnTag(java.lang.String n)
Constructs a transition triggered when the cursor leaves with any modifier a tagged shape. This transition loops on the current state.

Parameters:
n - The name of the tag

StateMachine.State.LeaveOnTag

public StateMachine.State.LeaveOnTag(SMTag t)
Constructs a transition triggered when the cursor leaves with any modifier a tagged shape. This transition loops on the current state.

Parameters:
t - The tag

StateMachine.State.LeaveOnTag

public StateMachine.State.LeaveOnTag(java.lang.String n,
                                     int m)
Constructs a transition triggered when the cursor leaves a tagged shape. This transition loops on the current state.

Parameters:
n - The name of the tag
m - The modifier: NOMODIFIER, CONTROL, ALT, SHIFT, ALT_CONTROL, CONTROL_SHIFT, ALT_SHIFT or ALT_CONTROL_SHIFT

StateMachine.State.LeaveOnTag

public StateMachine.State.LeaveOnTag(SMTag t,
                                     int m)
Constructs a transition triggered when the cursor leaves a tagged shape. This transition loops on the current state.

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

StateMachine.State.LeaveOnTag

public StateMachine.State.LeaveOnTag(java.lang.String n,
                                     java.lang.String a)
Constructs a transition triggered when the cursor leaves with any modifier a tagged shape.

Parameters:
n - The name of the tag
a - The name of the output state

StateMachine.State.LeaveOnTag

public StateMachine.State.LeaveOnTag(SMTag t,
                                     java.lang.String a)
Constructs a transition triggered when the cursor leaves with any modifier a tagged shape.

Parameters:
t - The tag
a - The name of the output state

StateMachine.State.LeaveOnTag

public StateMachine.State.LeaveOnTag(java.lang.String n,
                                     int m,
                                     java.lang.String a)
Constructs a transition triggered when the cursor leaves a tagged shape.

Parameters:
n - The name of the tag
m - The modifier: NOMODIFIER, CONTROL, ALT, SHIFT, ALT_CONTROL, CONTROL_SHIFT, ALT_SHIFT or ALT_CONTROL_SHIFT
a - The name of the output state

StateMachine.State.LeaveOnTag

public StateMachine.State.LeaveOnTag(SMTag t,
                                     int m,
                                     java.lang.String a)
Constructs a transition triggered when the cursor leaves a tagged shape.

Parameters:
t - The tag
m - The modifier: NOMODIFIER, CONTROL, ALT, SHIFT, ALT_CONTROL, CONTROL_SHIFT, ALT_SHIFT or ALT_CONTROL_SHIFT
a - The name of the output state