org.cafesip.gwtcomp.client.common
Class ChartInitData

java.lang.Object
  extended by org.cafesip.gwtcomp.client.common.ChartInitData
All Implemented Interfaces:
java.io.Serializable

public class ChartInitData
extends java.lang.Object
implements java.io.Serializable

This class contains the property of the chart that is displayed by a LiveDataPanel component and the initial data set. The client-side constructs the chart based on the properties set an object of this type.

See Also:
Serialized Form

Constructor Summary
ChartInitData()
          A constructor for this class.
ChartInitData(ChartInfo chartData, ChartData[] initialData)
          A constructor for this class.
 
Method Summary
 ChartInfo getChartData()
           
 ChartData[] getInitialData()
           
 void setChartData(ChartInfo chartData)
           
 void setInitialData(ChartData[] initialData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChartInitData

public ChartInitData()
A constructor for this class.


ChartInitData

public ChartInitData(ChartInfo chartData,
                     ChartData[] initialData)
A constructor for this class.

Parameters:
chartData - contains the properties of the chart
initialData - contains the initial data that is displayed when the chart is displayed.
Method Detail

getChartData

public ChartInfo getChartData()
Returns:
Returns the chartData.

setChartData

public void setChartData(ChartInfo chartData)
Parameters:
chartData - The chartData to set.

getInitialData

public ChartData[] getInitialData()
Returns:
Returns the initialData.

setInitialData

public void setInitialData(ChartData[] initialData)
Parameters:
initialData - The initialData to set.


http://www.cafesip.org