|
||||||||||
| 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
|
+--gov.sns.tools.chart.Strip3dDataSource
Class that is used to model continuous 3d Grid data.
| Field Summary | |
protected int |
shiftBack
the back index of a zData shift |
protected int |
shiftFront
the font index of a zData shift |
protected int |
shiftRate
rate at which zData is shifted |
protected int |
startIndex
the index for new zData |
| 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 | |
Strip3dDataSource(java.lang.String name,
double[] xGrid,
double[] yGrid,
double[][] zDataBuffer)
Constructor for creating a Strip3dDataSource with a predefined xGrid, yGrid, and a zData buffer. |
|
| Method Summary | |
void |
appendZData(double[] zData,
java.lang.String yAxisLabel)
Appends a new zData set to the model with a Y-axis label. |
int |
getShiftRate()
return the shiftRate |
void |
setShiftRate(int shiftRate)
Set the rate at which the model is shifted to allow for new data sets. |
protected void |
shiftLabels(java.lang.String[] labels)
Shift the labels the distance of the shiftFront. |
protected void |
shiftZDataSet()
Shift the model data the distance of the shiftFront. |
| 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 |
| Field Detail |
protected int startIndex
protected int shiftRate
protected int shiftFront
protected int shiftBack
| Constructor Detail |
public Strip3dDataSource(java.lang.String name,
double[] xGrid,
double[] yGrid,
double[][] zDataBuffer)
name - name of the modelxGrid - x axis valuesyGrid - y axis values| Method Detail |
public void setShiftRate(int shiftRate)
shiftRate - number of points the model will shift for new pointspublic int getShiftRate()
public void appendZData(double[] zData,
java.lang.String yAxisLabel)
zData - yAxisLabel - y axis label for the zDataprotected void shiftLabels(java.lang.String[] labels)
labels - the y-axis labelsprotected void shiftZDataSet()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||