javalib.funworld
Class MyWindowClosingListener
java.lang.Object
java.awt.event.WindowAdapter
javalib.funworld.MyWindowClosingListener
- All Implemented Interfaces:
- WindowFocusListener, WindowListener, WindowStateListener, EventListener
class MyWindowClosingListener
- extends WindowAdapter
The window closing listener - it stops the timer when the frame is closed
and stops playing all tunes - in the tickTunes bucket and in the
keyTunes bucket.
- Since:
- 5 August 2010
- Author:
- Viera K. Proulx
Field Summary |
(package private) World |
w
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
w
World w
MyWindowClosingListener
MyWindowClosingListener(World w)
windowClosing
public void windowClosing(WindowEvent we)
- Specified by:
windowClosing
in interface WindowListener
- Overrides:
windowClosing
in class WindowAdapter