- All Superinterfaces:
DatasetChangeListener
,EventListener
,PropertyChangeListener
- All Known Implementing Classes:
AbstractComposedXYDataset
,AbstractTableXYDataset
,ComposedCategoryDataset
,ComposedDataset
,ComposedXYDataset
,ComposedXYZDataset
,TableCategoryDataset
,TableDataset
,TableXYDataset
,TableXYZDataset
@OVLInaccessible public interface ChartChangeListener extends DatasetChangeListener, PropertyChangeListener
This interface represents a listener for chart changes.
Every time, the chart settings change, the listener is notified.
Chart changes include:
- Changing the dataset/Changes within the dataset
- Changing the chart style
- Changing the chart axes
- Changing the legend
- Changing the chart title
- Changing the chart background
- Since:
- Omix 1.8.6
- Author:
- Dr. Peter Droste
- See Also:
Chart.addChartChangeListener(ChartChangeListener)
,Chart.removeChartChangeListener(ChartChangeListener)
,Chart.propertyChange(PropertyChangeEvent)
,Chart.datasetChanged()
-
Method Summary
Modifier and Type Method Description void
datasetChanged()
This method is called when the dataset of a chart is changed or the data within the dataset changes.default void
propertyChange(PropertyChangeEvent evt)
This method is called whenever a property of the chart or chart style, legend, title or background changes.
-
Method Details
-
datasetChanged
This method is called when the dataset of a chart is changed or the data within the dataset changes.- Specified by:
datasetChanged
in interfaceDatasetChangeListener
-
propertyChange
This method is called whenever a property of the chart or chart style, legend, title or background changes. By default, the method callsdatasetChanged()
.- Specified by:
propertyChange
in interfacePropertyChangeListener
-