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.
-
ChartDataModel()
- Default constructor for ChartDataModel.
-
getDataInterpretation()
-
-
getDataItem(int, int)
- Retrieves a data item from the data source.
-
getName()
- Gets the value of the Name property.
-
getNumRows()
- Gets the NumRows property of the data source, which
specifies the number of rows of data available.
-
getPointLabels()
- Gets the value of the PointLabels property.
-
getRow(int)
- Retrieves an entire row of data items.
-
getSeriesLabel(int)
- Gets the value of the SeriesLabel property.
-
getSeriesName(int)
- Gets the value of the SeriesName property.
-
setDataItem(int, int, Object)
- Sets a data item in the data source.
ChartDataModel
public ChartDataModel()
- Default constructor for ChartDataModel.
All Packages Class Hierarchy This Package Previous Next Index