|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectactionListeners.ChartDisplaySettingsActionListener
public class ChartDisplaySettingsActionListener
ActionListener for a ChartDisplaySettingsPanel
that allows to modify the Display Settings of a Chart
.
Field Summary | |
---|---|
private java.awt.Color |
activeDesignColor
The active design color. |
private java.awt.Color |
backGroundColor
The Chart background color. |
private java.awt.Color |
filterColor
The filter color. |
private java.awt.Color |
filteredDesignColor
The filtered design color. |
private ChartDisplaySettingsPanel |
panel
The panel on which the settings controls are located. |
(package private) static boolean |
printLog
Flag to enable debug message printing for this class. |
private boolean |
showDesignIDs
The show design IDs flag. |
private boolean |
showFilteredDesigns
The show filtered designs flag. |
private UserPreferences |
userPreferences
The user preferences. |
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. |
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 |
---|
static final boolean printLog
private UserPreferences userPreferences
private ChartDisplaySettingsPanel panel
private java.awt.Color backGroundColor
Chart.getBackGroundColor()
private java.awt.Color activeDesignColor
Chart.getDefaultDesignColor(boolean)
private java.awt.Color filteredDesignColor
Chart.getDefaultDesignColor(boolean)
private java.awt.Color filterColor
Chart.getFilterColor()
private boolean showFilteredDesigns
Chart.isShowFilteredDesigns()
private boolean showDesignIDs
Chart.isShowDesignIDs()
Constructor Detail |
---|
public ChartDisplaySettingsActionListener(Main mainWindow, ChartDisplaySettingsPanel panel)
mainWindow
- the main windowpanel
- the panelpublic ChartDisplaySettingsActionListener(Main mainWindow, ChartDisplaySettingsPanel panel, Chart chart)
mainWindow
- the main windowpanel
- the panelchart
- the chartMethod Detail |
---|
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
private void log(java.lang.String message)
message
- the messagepublic java.awt.Color getActiveDesignColor()
public java.awt.Color getBackGroundColor()
public java.awt.Color getFilterColor()
public java.awt.Color getFilteredDesignColor()
public boolean isShowDesignIDs()
public boolean isShowFilteredDesigns()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |