|
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.chart.ChartDataSupport | +--com.klg.jclass.chart.data.BaseDataSource
This class is the base for any data source that chooses to store data internally using arrays.
Field Summary | |
protected boolean |
cloneArrays
|
protected com.klg.jclass.util.ImageMapInfo[] |
clusterImageMapInfo
|
protected double |
holeValue
|
protected com.klg.jclass.util.ImageMapInfo[] |
legendImageMapInfo
|
protected String |
name
|
protected com.klg.jclass.util.ImageMapInfo[][] |
pointImageMapInfo
|
protected String[] |
pointLabels
|
protected com.klg.jclass.util.ImageMapInfo[] |
seriesImageMapInfo
|
protected String[] |
seriesLabels
|
protected double[][] |
xvalues
|
protected double[][] |
yvalues
|
Fields inherited from class com.klg.jclass.chart.ChartDataSupport |
source |
Fields inherited from interface com.klg.jclass.chart.ChartDataModel |
ALL |
Constructor Summary | |
BaseDataSource()
|
Method Summary | |
protected double[] |
cloneCheck(double[] a)
Convenience method used to optionally clone a double array. |
protected com.klg.jclass.util.ImageMapInfo[] |
cloneCheck(com.klg.jclass.util.ImageMapInfo[] a)
Convenience method used to optionally clone an ImageMapInfo array. |
protected String[] |
cloneCheck(String[] a)
Convenience method used to optionally clone a String array. |
com.klg.jclass.chart.ChartDataManager |
getChartDataManager()
Retrieves the ChartDataManager instance. |
boolean |
getCloneArrays()
Gets the value of the CloneArrays property. |
com.klg.jclass.util.ImageMapInfo[] |
getClusterImageMapInfo()
Retrieves an array of image map information, one for each point cluster. |
String |
getDataSourceName()
Retrieves the name for the data source. |
double |
getHoleValue()
Retrieves the hole value for the data source. |
com.klg.jclass.util.ImageMapInfo[] |
getLegendImageMapInfo()
Retrieves an array of legend image map information, one for each series. |
int |
getNumSeries()
Retrieves the number of data series. |
com.klg.jclass.util.ImageMapInfo[] |
getPointImageMapInfo(int seriesIndex)
Retrieves a array of image map information indexed by series. |
String[] |
getPointLabels()
Retrieves the labels to be used for each point in a particular data series. |
com.klg.jclass.util.ImageMapInfo[] |
getSeriesImageMapInfo()
Retrieves an array of image map information, one for each series. |
String[] |
getSeriesLabels()
Retrieves the labels to be used for each data series. |
double[] |
getXSeries(int index)
Retrieves the specified x-value series. |
double[] |
getYSeries(int index)
Retrieves the specified y-value series. |
void |
setCloneArrays(boolean ca)
Sets the value of the CloneArrays property. |
Methods inherited from class com.klg.jclass.chart.ChartDataSupport |
addChartDataListener, fireChartDataEvent, fireChartDataEvent, removeChartDataListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected double[][] xvalues
protected double[][] yvalues
protected String name
protected String[] seriesLabels
protected String[] pointLabels
protected double holeValue
protected com.klg.jclass.util.ImageMapInfo[][] pointImageMapInfo
protected com.klg.jclass.util.ImageMapInfo[] clusterImageMapInfo
protected com.klg.jclass.util.ImageMapInfo[] seriesImageMapInfo
protected com.klg.jclass.util.ImageMapInfo[] legendImageMapInfo
protected boolean cloneArrays
Constructor Detail |
public BaseDataSource()
Method Detail |
public double[] getXSeries(int index)
getXSeries
in interface ChartDataModel
index
- data series index
public double[] getYSeries(int index)
getYSeries
in interface ChartDataModel
index
- data series index
public int getNumSeries()
getNumSeries
in interface ChartDataModel
public String[] getPointLabels()
LabelledChartDataModel
getPointLabels
in interface LabelledChartDataModel
public String[] getSeriesLabels()
getSeriesLabels
in interface LabelledChartDataModel
public String getDataSourceName()
getDataSourceName
in interface LabelledChartDataModel
public double getHoleValue()
getHoleValue
in interface HoleValueChartDataModel
public com.klg.jclass.util.ImageMapInfo[] getPointImageMapInfo(int seriesIndex)
getPointImageMapInfo
in interface com.klg.jclass.chart.ImageMapChartDataModel
seriesIndex
- The series whose image map informaiton is required.
public com.klg.jclass.util.ImageMapInfo[] getClusterImageMapInfo()
getClusterImageMapInfo
in interface com.klg.jclass.chart.ImageMapChartDataModel
public com.klg.jclass.util.ImageMapInfo[] getSeriesImageMapInfo()
getSeriesImageMapInfo
in interface com.klg.jclass.chart.ImageMapChartDataModel
public com.klg.jclass.util.ImageMapInfo[] getLegendImageMapInfo()
getLegendImageMapInfo
in interface com.klg.jclass.chart.ImageMapChartDataModel
public com.klg.jclass.chart.ChartDataManager getChartDataManager()
getChartDataManager
in interface ChartDataManageable
public void setCloneArrays(boolean ca)
ca
- If true, make a copy of arrayspublic boolean getCloneArrays()
protected double[] cloneCheck(double[] a)
a
- The array to clone
protected String[] cloneCheck(String[] a)
a
- The array to clone
protected com.klg.jclass.util.ImageMapInfo[] cloneCheck(com.klg.jclass.util.ImageMapInfo[] a)
a
- The array to clone
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |