com.miginfocom.ashape.interaction
Class AShapeAnimatorBroker

java.lang.Object
  extended by com.miginfocom.ashape.interaction.AbstractInteractionBroker
      extended by com.miginfocom.ashape.interaction.AShapeAnimatorBroker
All Implemented Interfaces:
InteractionBroker

public class AShapeAnimatorBroker
extends AbstractInteractionBroker

A broker that aggregates a number of Animators and start/stops them as well as possibly other things.

Is a singleton. Use getInstance() to get the single needed instance.


Method Summary
static AShapeAnimatorBroker getInstance()
          Returns the single needed instance.
 boolean handleCommand(Interactor interactor, Command cmd, java.awt.event.InputEvent e)
          Handels one command.
 
Methods inherited from class com.miginfocom.ashape.interaction.AbstractInteractionBroker
handleCommands
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static AShapeAnimatorBroker getInstance()
Returns the single needed instance.

Returns:
The single needed instance.

handleCommand

public boolean handleCommand(Interactor interactor,
                             Command cmd,
                             java.awt.event.InputEvent e)
Description copied from class: AbstractInteractionBroker
Handels one command.

Specified by:
handleCommand in class AbstractInteractionBroker
Parameters:
interactor - The interactor the the interaction originated from
cmd - The command that is to be executed
e - The event that started the interaction, if any.
Returns:
IF the command was handled.


Copyright © 2009 MiG InfoCom AB. All Rights Reserved.