sm
Class StateMachine.State.Move

java.lang.Object
  extended bysm.StateMachine.State.Transition
      extended bysm.StateMachine.State.EventOnPosition
          extended bysm.StateMachine.State.MouseOnPosition
              extended bysm.StateMachine.State.Move
Enclosing class:
StateMachine.State

public class StateMachine.State.Move
extends StateMachine.State.MouseOnPosition

A transition triggered by a mouse moved event with no button pressed anywhere in the canvas.

Author:
Caroline Appert

Constructor Summary
StateMachine.State.Move()
          Constructs a transition triggered by a mouse moved event with any modifier that loops on the current state.
StateMachine.State.Move(int m)
          Constructs a transition triggered by a mouse moved event that loops on the current state.
StateMachine.State.Move(int m, java.lang.String a)
          Constructs a transition triggered by a mouse moved event.
StateMachine.State.Move(java.lang.String a)
          Constructs a transition triggered by a mouse moved event with any modifier.
 
Methods inherited from class sm.StateMachine.State.MouseOnPosition
getButton
 
Methods inherited from class sm.StateMachine.State.EventOnPosition
getInputEvent, getPoint, hashKey, setInputEvent
 
Methods inherited from class sm.StateMachine.State.Transition
action, getModifier, getOutputStateName, getVirtualEvent, guard, oldToString, setVirtualEvent, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StateMachine.State.Move

public StateMachine.State.Move()
Constructs a transition triggered by a mouse moved event with any modifier that loops on the current state.


StateMachine.State.Move

public StateMachine.State.Move(int m)
Constructs a transition triggered by a mouse moved event 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.Move

public StateMachine.State.Move(java.lang.String a)
Constructs a transition triggered by a mouse moved event with any modifier.

Parameters:
a - The name of the output state

StateMachine.State.Move

public StateMachine.State.Move(int m,
                               java.lang.String a)
Constructs a transition triggered by a mouse moved event.

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