dionarap
Class ListenerNewGame

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

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

Klasse zum Reagieren auf den "Neues Spiel"-Buttons der Klasse Navigator. Implementiert das Interface ActionListener.

Version:
1.4
Author:
Thomas Merkel, Rainer Hihn
See Also:
ActionListener, Navigator.bNewGame

Constructor Summary
ListenerNewGame()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
          Event-Handler fuer "Neues Spiel"-Button im Navigator-Fenster.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListenerNewGame

public ListenerNewGame()
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)
Event-Handler fuer "Neues Spiel"-Button im Navigator-Fenster. Ermittelt Ÿber die Fenster-Hierarchie das Hauptfenster und teilt diesem mit, ein neues Spiel zu starten.

Specified by:
actionPerformed in interface java.awt.event.ActionListener
See Also:
Navigator.bNewGame, ActionListener.actionPerformed(java.awt.event.ActionEvent)