actionListeners.scatter2DChartSettings
public class Scatter2DChartAxisPanelActionListener extends java.lang.Object implements java.awt.event.ActionListener, javax.swing.event.ChangeListener
Scatter2DChartAxisPanel
that allows to modify the Display Settings of an axis of a ScatterChart2D
.Constructor and Description |
---|
Scatter2DChartAxisPanelActionListener(Main mainWindow,
ChartFrame chartFrame,
ScatterChart2D chart,
Scatter2DChartAxisPanel panel,
int axis)
Instantiates a new scatter 2d axis panel action listener to edit settings for a specific axis.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
void |
stateChanged(javax.swing.event.ChangeEvent e) |
public Scatter2DChartAxisPanelActionListener(Main mainWindow, ChartFrame chartFrame, ScatterChart2D chart, Scatter2DChartAxisPanel panel, int axis)
chartFrame
- the chartFramechart
- the chartpanel
- the panel carrying the controlspublic void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public void stateChanged(javax.swing.event.ChangeEvent e)
stateChanged
in interface javax.swing.event.ChangeListener