Class Controller.RunButtonHandler

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

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

Inner class for handling the Run button.


Constructor Summary
(package private) Controller.RunButtonHandler()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          Sets the programIsRunning flag to true, and creates and starts an animation Thread to do the animation.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Controller.RunButtonHandler

Controller.RunButtonHandler()
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Sets the programIsRunning flag to true, and creates and starts an animation Thread to do the animation. While the animation is running, all buttons except the Run 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