org.malai.interaction.library
Class KeyInteraction.KeyInteractionKeyPressedTransition

java.lang.Object
  extended by org.malai.interaction.Transition
      extended by org.malai.interaction.KeyboardTransition
          extended by org.malai.interaction.KeyPressureTransition
              extended by org.malai.interaction.library.KeyInteraction.KeyInteractionKeyPressedTransition
All Implemented Interfaces:
ITransition
Enclosing class:
KeyInteraction

 class KeyInteraction.KeyInteractionKeyPressedTransition
extends KeyPressureTransition

Defines a transition modifying the key attribute of the interaction.


Field Summary
 
Fields inherited from class org.malai.interaction.KeyboardTransition
key, source
 
Fields inherited from class org.malai.interaction.Transition
hid, inputState, outputState
 
Constructor Summary
KeyInteraction.KeyInteractionKeyPressedTransition(SourceableState inputState, TargetableState outputState)
          Creates the transition.
 
Method Summary
 void action()
          Performs the actions to do when the transition is executed.
 
Methods inherited from class org.malai.interaction.KeyboardTransition
getKey, getSource, setKey, setSource
 
Methods inherited from class org.malai.interaction.Transition
getHid, getInputState, getOutputState, isGuardRespected, setHid, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

KeyInteraction.KeyInteractionKeyPressedTransition

public KeyInteraction.KeyInteractionKeyPressedTransition(SourceableState inputState,
                                                         TargetableState outputState)
Creates the transition.

Parameters:
inputState - The source state of the transition.
outputState - The target state of the transition.
Method Detail

action

public void action()
Description copied from interface: ITransition
Performs the actions to do when the transition is executed. Should be overridden.

Specified by:
action in interface ITransition
Overrides:
action in class Transition