Class Controller.ResetButtonHandler

java.lang.Object
  |
  +--Controller.ResetButtonHandler
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener
Enclosing class:
Controller

class Controller.ResetButtonHandler
extends java.lang.Object
implements java.awt.event.ActionListener

Inner class for handling the Reset button.


Constructor Summary
(package private) Controller.ResetButtonHandler()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Recreates the entire setup, including placement of bushes and animals.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Controller.ResetButtonHandler

Controller.ResetButtonHandler()
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Recreates the entire setup, including placement of bushes and animals. Cannot be performed while the animation is running. Afterwards, all buttons except the Stop button should be enabled.
Specified by:
actionPerformed in interface java.awt.event.ActionListener
Parameters:
e - the Event that invoked this handler (ignored).


Generated by BlueJ