actions
Class InteractionAction

java.lang.Object
  extended by actions.InteractionAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class InteractionAction
extends java.lang.Object
implements java.awt.event.ActionListener

Action for invoking an interactor.


Field Summary
(package private)  InteractionHandler handler
          the interaction handler
(package private)  java.lang.String interactor
          the unique identifier for the interaction to invoke
 
Constructor Summary
InteractionAction(InteractionHandler handler, java.lang.String interactor)
          Constructs the interaction action.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent arg0)
          Sets the current interaction in the canvas.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

handler

InteractionHandler handler
the interaction handler


interactor

java.lang.String interactor
the unique identifier for the interaction to invoke

Constructor Detail

InteractionAction

public InteractionAction(InteractionHandler handler,
                         java.lang.String interactor)
Constructs the interaction action.

Parameters:
handler - - the interaction handler
interactor - - the name of the interaction to invoke
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent arg0)
Sets the current interaction in the canvas.

Specified by:
actionPerformed in interface java.awt.event.ActionListener