actionListeners
Class ChartDisplaySettingsActionListener

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

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

ActionListener for a ChartDisplaySettingsPanel that allows to modify the Display Settings of a Chart.


Constructor Summary
ChartDisplaySettingsActionListener(Main mainWindow, ChartDisplaySettingsPanel panel)
          Instantiates a new chart display settings action listener to edit default settings.
ChartDisplaySettingsActionListener(Main mainWindow, ChartDisplaySettingsPanel panel, Chart chart)
          Instantiates a new chart display settings action listener to edit settings for a specific chart.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 java.awt.Color getActiveDesignColor()
          Gets the active design color.
 java.awt.Color getBackGroundColor()
          Gets the back ground color.
 java.awt.Color getFilterColor()
          Gets the filter color.
 java.awt.Color getFilteredDesignColor()
          Gets the filtered design color.
 boolean isShowDesignIDs()
          Checks if design IDs are shown.
 boolean isShowFilteredDesigns()
          Checks if filtered designs are shown.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChartDisplaySettingsActionListener

public ChartDisplaySettingsActionListener(Main mainWindow,
                                          ChartDisplaySettingsPanel panel)
Instantiates a new chart display settings action listener to edit default settings.

Parameters:
mainWindow - the main window
panel - the panel

ChartDisplaySettingsActionListener

public ChartDisplaySettingsActionListener(Main mainWindow,
                                          ChartDisplaySettingsPanel panel,
                                          Chart chart)
Instantiates a new chart display settings action listener to edit settings for a specific chart.

Parameters:
mainWindow - the main window
panel - the panel
chart - the chart
Method Detail

actionPerformed

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

getActiveDesignColor

public java.awt.Color getActiveDesignColor()
Gets the active design color.

Returns:
the active design color

getBackGroundColor

public java.awt.Color getBackGroundColor()
Gets the back ground color.

Returns:
the back ground color

getFilterColor

public java.awt.Color getFilterColor()
Gets the filter color.

Returns:
the filter color

getFilteredDesignColor

public java.awt.Color getFilteredDesignColor()
Gets the filtered design color.

Returns:
the filtered design color

isShowDesignIDs

public boolean isShowDesignIDs()
Checks if design IDs are shown.

Returns:
true, if design IDs are shown.

isShowFilteredDesigns

public boolean isShowFilteredDesigns()
Checks if filtered designs are shown.

Returns:
true, if filtered designs are shown.