|
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.Base3dGridDataSource | +--com.klg.jclass.chart3d.data.JCDefault3dGridDataSource
JCDefault3dGridDataSource
extends Base3dGridDataSource
to create
a more useful default container for JClass Chart 3D data.
Field Summary |
Fields inherited from class com.klg.jclass.chart3d.data.Base3dGridDataSource |
chartDataListeners, dataSourceName, xGrid, xLabels, yGrid, yLabels, zValues |
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 | |
JCDefault3dGridDataSource()
Convenience no argument constructor sets all properties initially to null. |
|
JCDefault3dGridDataSource(String name,
double[] xGrid,
double[] yGrid,
double[][] zValues)
Regular constructor sets the data values and the name of this datasource. |
Method Summary | |
int |
getXGridSize()
Retrieves the number of X values. |
int |
getYGridSize()
Retrieves the number of Y values. |
double[] |
getZArray(int index)
Retrieves the specified series as an array of doubles. |
void |
setZArray(int xIndex,
double[] values)
Sets the values for the specified series index. |
Methods inherited from class com.klg.jclass.chart3d.data.Base3dGridDataSource |
clone, getDataSourceName, getNumX, getNumY, getXGrid, getXLabels, getYGrid, getYLabels, getZValues, setDataSourceName, setXGrid, setXLabels, setYGrid, setYLabels, setZValues |
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 |
Constructor Detail |
public JCDefault3dGridDataSource()
public JCDefault3dGridDataSource(String name, double[] xGrid, double[] yGrid, double[][] zValues)
name
- String name of the datasourcexGrid
- array of doubles which holds the X valuesyGrid
- array of doubles which holds the Y valueszValues
- two-dimensional array of doubles holds the Z values.Method Detail |
public double[] getZArray(int index)
ArrayIndexOutOfBoundsException
if the index
is not valid.
index
- int which indicates which series to return
public void setZArray(int xIndex, double[] values)
ArrayIndexOutOfBoundsException
if the index
is not valid.
xIndex
- values
- the new seriespublic int getXGridSize()
public int getYGridSize()
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |