Package org.jppf.ui.monitoring.charts
Class AbstractXChartHandler
java.lang.Object
org.jppf.ui.monitoring.charts.AbstractXChartHandler
- All Implemented Interfaces:
ChartHandler
- Direct Known Subclasses:
XChartBarHandler,XChartDialHandler,XChartPieHandler,XChartPlotXYHandler
Instances of this class are used to define charts and update their data.
- Author:
- Laurent Cohen
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractXChartHandler(StatsHandler statsHandler) Initialize this chart handler with a specified stats formatter. -
Method Summary
Modifier and TypeMethodDescriptionupdateDataset(ChartConfiguration config) Update a dataset based on a chart configuration..Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jppf.ui.monitoring.charts.ChartHandler
createChart, populateDataset
-
Constructor Details
-
AbstractXChartHandler
Initialize this chart handler with a specified stats formatter.- Parameters:
statsHandler- the stats formatter that provides the data.
-
-
Method Details
-
updateDataset
Description copied from interface:ChartHandlerUpdate a dataset based on a chart configuration..- Specified by:
updateDatasetin interfaceChartHandler- Parameters:
config- the chart configuration containing the dataset to update.- Returns:
- a
ChartConfigurationinstance.
-