de.dfg.oc.logfileanalyzer.gui
Class ChartClosedListener

java.lang.Object
  extended by de.dfg.oc.logfileanalyzer.gui.ChartClosedListener
All Implemented Interfaces:
WindowListener, EventListener

 class ChartClosedListener
extends Object
implements WindowListener

WindowListener, cleans up after a ChartFrame was closed.

Author:
Clemens Gersbacher, Holger Prothmann

Field Summary
(package private)  ChartFrame myChartFrame
          ChartFrame this ChartClosedListener is attached to
 
Constructor Summary
ChartClosedListener(ChartFrame _myChartFrame)
          Creates a new ChartClosedListener that listens to WindowEvents of the ChartFrame given as parameter.
 
Method Summary
 void windowActivated(WindowEvent e)
           
 void windowClosed(WindowEvent e)
           
 void windowClosing(WindowEvent e)
          Removes a ChartFrame from the chartFrames-Vector of the TableFrame-class when the ChartFrame gets closed.
 void windowDeactivated(WindowEvent e)
           
 void windowDeiconified(WindowEvent e)
           
 void windowIconified(WindowEvent e)
           
 void windowOpened(WindowEvent e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myChartFrame

ChartFrame myChartFrame
ChartFrame this ChartClosedListener is attached to

Constructor Detail

ChartClosedListener

ChartClosedListener(ChartFrame _myChartFrame)
Creates a new ChartClosedListener that listens to WindowEvents of the ChartFrame given as parameter.

Parameters:
_myChartFrame - ChartFrame this ChartClosedListener is attached to
Method Detail

windowClosing

public void windowClosing(WindowEvent e)
Removes a ChartFrame from the chartFrames-Vector of the TableFrame-class when the ChartFrame gets closed.

Specified by:
windowClosing in interface WindowListener

windowOpened

public void windowOpened(WindowEvent e)
Specified by:
windowOpened in interface WindowListener

windowClosed

public void windowClosed(WindowEvent e)
Specified by:
windowClosed in interface WindowListener

windowIconified

public void windowIconified(WindowEvent e)
Specified by:
windowIconified in interface WindowListener

windowDeiconified

public void windowDeiconified(WindowEvent e)
Specified by:
windowDeiconified in interface WindowListener

windowActivated

public void windowActivated(WindowEvent e)
Specified by:
windowActivated in interface WindowListener

windowDeactivated

public void windowDeactivated(WindowEvent e)
Specified by:
windowDeactivated in interface WindowListener