|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.chart3d.event.Chart3dDataSupport | +--com.klg.jclass.chart3d.data.Base3dDataSource | +--com.klg.jclass.chart3d.data.Base3dPointDataSource
This class is the base for any data source that chooses to
store data internally using an array of Point3d
objects.
Field Summary | |
protected com.klg.jclass.util.JCListenerList |
chartDataListeners
List of interested listeners. |
protected String |
dataSourceName
Name of this datasource. |
protected Point3d[][] |
points
Array of Point3d objects to be plotted on the chart. |
protected String[] |
seriesLabels
List of Series Labels. |
Fields inherited from class com.klg.jclass.chart3d.data.Base3dDataSource |
holeValue |
Fields inherited from class com.klg.jclass.chart3d.event.Chart3dDataSupport |
source |
Fields inherited from interface com.klg.jclass.chart3d.HoleValueChart3dDataModel |
DEFAULT_HOLE_VALUE |
Constructor Summary | |
Base3dPointDataSource(String name,
Point3d[][] points)
Constructor for a Base3dPointDataSource where the data is already known,
includes an argument for the datasource name. |
Method Summary | |
Object |
clone()
Overrides clone in class Object. |
String |
getDataSourceName()
Retrieves the name of this datasource . |
int |
getNumSeries()
Retrieves the number of data series this datasource holds. |
Point3d[][] |
getPoints()
Retrieves a doubly subscripted array of points (arranged by series). |
String[] |
getSeriesLabels()
Retrieves the list of series labels . |
void |
setDataSourceName(String name)
Sets the name of this datasource . |
void |
setPoints(Point3d[][] points)
Sets the data values for this chart in the form of a two-dimensional array of Point3d objects
. |
void |
setSeriesLabels(String[] seriesLabels)
Sets the list of series labels . |
Methods inherited from class com.klg.jclass.chart3d.data.Base3dDataSource |
getHoleValue, setHoleValue |
Methods inherited from class com.klg.jclass.chart3d.event.Chart3dDataSupport |
addChart3dDataListener, fireChart3dDataEvent, fireChart3dDataEvent, removeChart3dDataListener |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected Point3d[][] points
Point3d
objects to be plotted on the chart.
protected String dataSourceName
protected com.klg.jclass.util.JCListenerList chartDataListeners
protected String[] seriesLabels
Constructor Detail |
public Base3dPointDataSource(String name, Point3d[][] points)
Base3dPointDataSource
where the data is already known,
includes an argument for the datasource name.
name
- Name String
of this datasource (optional, can be
null).points
- Array of Point3d objects to be plotted on the chart.Method Detail |
public void setDataSourceName(String name)
name
- Name String
of this datasourcepublic String getDataSourceName()
getDataSourceName
in interface LabelledChart3dDataModel
String
of this datasourcepublic void setPoints(Point3d[][] points)
Point3d
objects
.
points
- Two-dimensional array of Point3d
objectspublic Point3d[][] getPoints()
getPoints
in interface Chart3dPointDataModel
public int getNumSeries()
getNumSeries
in interface LabelledChart3dPointDataModel
int
the number of dataseries.public String[] getSeriesLabels()
getSeriesLabels
in interface LabelledChart3dPointDataModel
seriesLabels
a String
arraypublic void setSeriesLabels(String[] seriesLabels)
seriesLabels
- a String
arraypublic Object clone()
JCListenerList
, which
is set to null.
Overrides @see Object#clone().
clone
in class Object
OutOfMemoryError
- - if there is not enough memory.
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |