uk.ac.ed.inf.sdp2012.group7.simulator
Class SimulatorFeed

java.lang.Object
  extended by java.awt.event.WindowAdapter
      extended by uk.ac.ed.inf.sdp2012.group7.simulator.SimulatorFeed
All Implemented Interfaces:
java.awt.event.WindowFocusListener, java.awt.event.WindowListener, java.awt.event.WindowStateListener, java.util.EventListener

public class SimulatorFeed
extends java.awt.event.WindowAdapter


Field Summary
 boolean paused
           
 
Constructor Summary
SimulatorFeed()
          Default constructor.
 
Method Summary
 void windowClosing(java.awt.event.WindowEvent e)
          Catches the window closing event, so that we can free up resources before exiting.
static void writeImage(java.awt.image.BufferedImage image, java.lang.String fn)
           
 
Methods inherited from class java.awt.event.WindowAdapter
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

paused

public boolean paused
Constructor Detail

SimulatorFeed

public SimulatorFeed()
Default constructor.

Method Detail

writeImage

public static void writeImage(java.awt.image.BufferedImage image,
                              java.lang.String fn)

windowClosing

public void windowClosing(java.awt.event.WindowEvent e)
Catches the window closing event, so that we can free up resources before exiting.

Specified by:
windowClosing in interface java.awt.event.WindowListener
Overrides:
windowClosing in class java.awt.event.WindowAdapter
Parameters:
e - The window closing event.