de.limdul.cassiopeia.gui.actions
Class SpectateMetaGameAction

java.lang.Object
  extended by javax.swing.AbstractAction
      extended by de.limdul.cassiopeia.gui.actions.SpectateMetaGameAction
All Implemented Interfaces:
CassiopeiaListener, GuiCommandListener, ActionListener, Serializable, Cloneable, EventListener, Action

public class SpectateMetaGameAction
extends AbstractAction
implements GuiCommandListener

Action zum Zuschauen eines Spiels auf dem Metaserver.

Author:
Martin Köhler $Revision: 69 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
SpectateMetaGameAction(EventHandler handler)
          Erzeugt die Action.
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 void parseGuiCommand(GuiCommand command)
          Verarbeitet ein GuiCommand.
 void setEventHandler(EventHandler handler)
          Setzt den Ereignisshandler, der für die Verteilung von Ereignissen zuständig ist.
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpectateMetaGameAction

public SpectateMetaGameAction(EventHandler handler)
Erzeugt die Action.

Parameters:
handler - Der Ereignishandler.
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener
See Also:
ActionListener.actionPerformed(java.awt.event.ActionEvent)

parseGuiCommand

public void parseGuiCommand(GuiCommand command)
Description copied from interface: GuiCommandListener
Verarbeitet ein GuiCommand.

Specified by:
parseGuiCommand in interface GuiCommandListener
Parameters:
command - Das GuiCommand
See Also:
GuiCommandListener.parseGuiCommand(de.limdul.cassiopeia.control.guicommands.GuiCommand)

setEventHandler

public void setEventHandler(EventHandler handler)
Description copied from interface: CassiopeiaListener
Setzt den Ereignisshandler, der für die Verteilung von Ereignissen zuständig ist. Listener können dort neu generierte Ereignisse hinschicken, die dann an die angeschlossenen Listener verteilt werden.

Specified by:
setEventHandler in interface CassiopeiaListener
Parameters:
handler - Der Ereignisshandler
See Also:
CassiopeiaListener.setEventHandler(de.limdul.cassiopeia.control.EventHandler)