de.dfg.oc.logfileanalyzer.gui
Class ChartOpenedListener

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

 class ChartOpenedListener
extends Object
implements ActionListener

ActionListener, creates a new ChartFrame and stores it in the TableFrame's vector of ChartFrames.

Author:
Clemens Gersbacher, Holger Prothmann

Field Summary
(package private)  TableFrame myTableFrame
          Reference to the TableFrame-object
 
Constructor Summary
ChartOpenedListener(TableFrame _myTableFrame)
          Constructor.
 
Method Summary
 void actionPerformed(ActionEvent e)
          Creates a new ChartFrame-object and stores it in the TableFrame's vector of ChartFrames.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myTableFrame

TableFrame myTableFrame
Reference to the TableFrame-object

Constructor Detail

ChartOpenedListener

ChartOpenedListener(TableFrame _myTableFrame)
Constructor. Creates a new ChartOpenListener.

Parameters:
_myTableFrame - calling TableFrame-object.
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Creates a new ChartFrame-object and stores it in the TableFrame's vector of ChartFrames. This method is invoked when "View->New chart" is selected in the menu of the TableFrame-class.

Specified by:
actionPerformed in interface ActionListener