actionListeners
Class ChartFrameAddDesignToClusterMenuActionListener

java.lang.Object
  extended by actionListeners.ChartFrameAddDesignToClusterMenuActionListener
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener

public class ChartFrameAddDesignToClusterMenuActionListener
extends java.lang.Object
implements java.awt.event.ActionListener

ActionListener for the ChartFrameAddDesignToClusterMenu to add a Design to a Cluster.


Field Summary
private  ChartFrame chartFrame
          The chart frame.
private  Main mainWindow
          The main window.
(package private) static boolean printLog
          Flag to enable debug message printing for this class.
 
Constructor Summary
ChartFrameAddDesignToClusterMenuActionListener(Main mainWindow, ChartFrame chartFrame)
          Instantiates this class.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
private  void log(java.lang.String message)
          Prints debug information to stdout when printLog is set to true.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

printLog

static final boolean printLog
Flag to enable debug message printing for this class.

See Also:
Constant Field Values

mainWindow

private Main mainWindow
The main window.


chartFrame

private ChartFrame chartFrame
The chart frame.

Constructor Detail

ChartFrameAddDesignToClusterMenuActionListener

public ChartFrameAddDesignToClusterMenuActionListener(Main mainWindow,
                                                      ChartFrame chartFrame)
Instantiates this class.

Parameters:
mainWindow - the main window
chartFrame - the chart frame
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

log

private void log(java.lang.String message)
Prints debug information to stdout when printLog is set to true.

Parameters:
message - the message