org.jppf.ui.monitoring.charts
Interface ChartHandler

All Known Implementing Classes:
AreaChartHandler, Bar3DChartHandler, DifferenceChartHandler, Pie3DChartHandler, PlotXYChartHandler, RingChartHandler

public interface ChartHandler

Common interface for all chart handlers, which configure, create, initially poppulate and update various types of charts.

Author:
Laurent Cohen

Method Summary
 ChartConfiguration createChart(ChartConfiguration config)
          Create a chart based on a chart configuration.
 ChartConfiguration populateDataset(ChartConfiguration config)
          Populate a dataset based on a chart configuration.
 ChartConfiguration updateDataset(ChartConfiguration config)
          Update a dataset based on a chart configuration..
 

Method Detail

createChart

ChartConfiguration createChart(ChartConfiguration config)
Create a chart based on a chart configuration.

Parameters:
config - holds the configuration parameters for the chart created, modified by this method.
Returns:
a ChartConfiguration instance.

populateDataset

ChartConfiguration populateDataset(ChartConfiguration config)
Populate a dataset based on a chart configuration.

Parameters:
config - the chart configuration containing the dataset to populate.
Returns:
a ChartConfiguration instance.

updateDataset

ChartConfiguration updateDataset(ChartConfiguration config)
Update a dataset based on a chart configuration..

Parameters:
config - the chart configuration containing the dataset to update.
Returns:
a ChartConfiguration instance.


Copyright © 2005-2010 JPPF Team.