All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jclass.chart.ChartDataModel

java.lang.Object
   |
   +----java.util.Observable
           |
           +----jclass.chart.ChartDataModel

public class ChartDataModel
extends Observable
implements EditableChartable
ChartDataModel is an arbitrary data source for JClass products. A DataSource object assumes that data can be retrieved as rows and columns. It is up to the product to interpret the data in the appropriate manner. For example, Chart will interpret every row pair as a series of x and y values. DataSources can be chained together as Observable/Observer pairs in order to transform the data. An example would be a DataSource that transposes the row and column values of its DataSource and presents that to a JClass product.


Constructor Index

 o ChartDataModel()
Default constructor for ChartDataModel.

Method Index

 o getDataInterpretation()
 o getDataItem(int, int)
Retrieves a data item from the data source.
 o getName()
Gets the value of the Name property.
 o getNumRows()
Gets the NumRows property of the data source, which specifies the number of rows of data available.
 o getPointLabels()
Gets the value of the PointLabels property.
 o getRow(int)
Retrieves an entire row of data items.
 o getSeriesLabel(int)
Gets the value of the SeriesLabel property.
 o getSeriesName(int)
Gets the value of the SeriesName property.
 o setDataItem(int, int, Object)
Sets a data item in the data source.

Constructors

 o ChartDataModel
  public ChartDataModel()
Default constructor for ChartDataModel.


All Packages  Class Hierarchy  This Package  Previous  Next  Index