java.lang.Object | +--Controller.StopButtonHandler
Inner class for handling the Stop button.
| Constructor Summary | |
(package private) |
Controller.StopButtonHandler()
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
Sets the programIsRunning flag to false, thus
causing run() to end the Thread doing the animation. |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
Controller.StopButtonHandler()
| Method Detail |
public void actionPerformed(java.awt.event.ActionEvent e)
programIsRunning flag to false, thus
causing run() to end the Thread doing the animation.
While the animation is stopped, all buttons except
the Stop button should be enabled.actionPerformed in interface java.awt.event.ActionListenere - the Event that invoked this handler (ignored).