sm
Class StateMachine.State.EnterOnTag

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.EnterOnTag
Enclosing class:
StateMachine.State

public class StateMachine.State.EnterOnTag
extends StateMachine.State.EventOnTag

A transition triggered when the cursor enters in an SMShape with a given tag.

Author:
Caroline Appert

Constructor Summary
StateMachine.State.EnterOnTag(SMTag t)
          Constructs a transition triggered when the cursor enters with any modifier in a tagged shape.
StateMachine.State.EnterOnTag(SMTag t, int m)
          Constructs a transition triggered when the cursor enters in a tagged shape.
StateMachine.State.EnterOnTag(SMTag t, int m, java.lang.String a)
          Constructs a transition triggered when the cursor enters in a tagged shape.
StateMachine.State.EnterOnTag(SMTag t, java.lang.String a)
          Constructs a transition triggered when the cursor enters with any modifier in a tagged shape.
StateMachine.State.EnterOnTag(java.lang.String n)
          Constructs a transition triggered when the cursor enters with any modifier in a tagged shape.
StateMachine.State.EnterOnTag(java.lang.String n, int m)
          Constructs a transition triggered when the cursor enters in a tagged shape.
StateMachine.State.EnterOnTag(java.lang.String n, int m, java.lang.String a)
          Constructs a transition triggered when the cursor enters in a tagged shape.
StateMachine.State.EnterOnTag(java.lang.String n, java.lang.String a)
          Constructs a transition triggered when the cursor enters with any modifier in 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.EnterOnTag

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

Parameters:
n - The name of the tag

StateMachine.State.EnterOnTag

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

Parameters:
t - The tag

StateMachine.State.EnterOnTag

public StateMachine.State.EnterOnTag(java.lang.String n,
                                     int m)
Constructs a transition triggered when the cursor enters in 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.EnterOnTag

public StateMachine.State.EnterOnTag(SMTag t,
                                     int m)
Constructs a transition triggered when the cursor enters in 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.EnterOnTag

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

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

StateMachine.State.EnterOnTag

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

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

StateMachine.State.EnterOnTag

public StateMachine.State.EnterOnTag(java.lang.String n,
                                     int m,
                                     java.lang.String a)
Constructs a transition triggered when the cursor enters in 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.EnterOnTag

public StateMachine.State.EnterOnTag(SMTag t,
                                     int m,
                                     java.lang.String a)
Constructs a transition triggered when the cursor enters in 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