sm
Class StateMachine.State.EnterOnShape

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

public class StateMachine.State.EnterOnShape
extends StateMachine.State.EventOnShape

A transition triggered with no modifier on a SMShape.

Author:
Caroline Appert

Constructor Summary
StateMachine.State.EnterOnShape()
          Constructs a transition triggered when the cursor enters with any modifier into an SMShape.
StateMachine.State.EnterOnShape(int m)
          Constructs a transition triggered when the cursor enters into an SMShape that loops on the current state.
StateMachine.State.EnterOnShape(java.lang.String a)
          Constructs a transition triggered when the cursor enters with any modifier into 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.EnterOnShape

public StateMachine.State.EnterOnShape()
Constructs a transition triggered when the cursor enters with any modifier into an SMShape.


StateMachine.State.EnterOnShape

public StateMachine.State.EnterOnShape(int m)
Constructs a transition triggered when the cursor enters into 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.EnterOnShape

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

Parameters:
a - The name of the output state