actionListeners
Class ChartSpecificDisplaySettingsDialogActionListener
java.lang.Object
actionListeners.ChartSpecificDisplaySettingsDialogActionListener
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.util.EventListener
public class ChartSpecificDisplaySettingsDialogActionListener
- extends java.lang.Object
- implements java.awt.event.ActionListener
ActionListener for the Ok button of a ChartDisplaySettingsPanel that was instantiated
using the constructor form ChartDisplaySettingsPanel.ChartDisplaySettingsPanel(Main, DisplaySettingsDialog, ChartFrame).
When a ChartDisplaySettingsPanel is instantiated with a ChartFrame object as the last argument, the settings
made in the panel are applied to that specific Chart, rather than to the default settings in the UserPreferences.
In order to do this correctly when the Ok button is pressed, the button must use this dedicated ActionListener.
- See Also:
DefaultDisplaySettingsDialogActionListener
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChartSpecificDisplaySettingsDialogActionListener
public ChartSpecificDisplaySettingsDialogActionListener(Main mainWindow,
DisplaySettingsDialog dialog,
Chart chart,
ChartFrame chartFrame)
- Instantiates a new chart specific display settings dialog action listener.
- Parameters:
mainWindow - the main windowdialog - the dialogchart - the chartchartFrame - the chart frame
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformed in interface java.awt.event.ActionListener