org.jppf.ui.monitoring.charts
Class DifferenceChartHandler

java.lang.Object
  extended by org.jppf.ui.monitoring.charts.DifferenceChartHandler
All Implemented Interfaces:
ChartHandler

public class DifferenceChartHandler
extends Object
implements ChartHandler

Instances of this class are used to create and update line charts with an horizontal orientation.

Author:
Laurent Cohen

Constructor Summary
DifferenceChartHandler(StatsHandler statsHandler)
          Initialize this chart handler with a specified stats formatter.
 
Method Summary
 ChartConfiguration createChart(ChartConfiguration config)
          Create a plot XY 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DifferenceChartHandler

public DifferenceChartHandler(StatsHandler statsHandler)
Initialize this chart handler with a specified stats formatter.

Parameters:
statsHandler - the stats formatter that provides the data.
Method Detail

createChart

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

Specified by:
createChart in interface ChartHandler
Parameters:
config - holds the configuration parameters for the chart created, modified by this method.
Returns:
a ChartConfiguration instance.
See Also:
ChartHandler.createChart(org.jppf.ui.monitoring.charts.config.ChartConfiguration)

populateDataset

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

Specified by:
populateDataset in interface ChartHandler
Parameters:
config - the chart configuration containing the dataset to populate.
Returns:
a ChartConfiguration instance.
See Also:
ChartHandler.populateDataset(org.jppf.ui.monitoring.charts.config.ChartConfiguration)

updateDataset

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

Specified by:
updateDataset in interface ChartHandler
Parameters:
config - the chart configuration containing the dataset to update.
Returns:
a ChartConfiguration instance.
See Also:
ChartHandler.updateDataset(org.jppf.ui.monitoring.charts.config.ChartConfiguration)


Copyright © 2005-2010 JPPF Team.