S - The series key type (which must implement Comparable).public interface XYZDataset<S extends java.lang.Comparable<S>> extends Dataset3D
(x, y, z) data items. This is the standard
dataset format used by the XYZPlot class.| Modifier and Type | Method and Description |
|---|---|
int |
getItemCount(int series)
Returns the number of items in a given series.
|
int |
getSeriesCount()
Returns the number of series in the dataset.
|
int |
getSeriesIndex(S key)
Returns the index of the specified series key, or
-1 if
the key is not found. |
S |
getSeriesKey(int index)
Returns the key for the specified series.
|
java.util.List<S> |
getSeriesKeys()
Returns a list of the series-keys for the dataset.
|
double |
getX(int series,
int item)
Returns the x-value for an item in a series.
|
double |
getY(int series,
int item)
Returns the y-value for an item in a series.
|
double |
getZ(int series,
int item)
Returns the z-value for an item in a series.
|
addChangeListener, hasListener, removeChangeListenerint getSeriesCount()
java.util.List<S> getSeriesKeys()
null).S getSeriesKey(int index)
index - the series index.int getSeriesIndex(S key)
-1 if
the key is not found.key - the key (null not permitted).-1.int getItemCount(int series)
series - the series index.double getX(int series, int item)
series - the series index.item - the item index.double getY(int series, int item)
series - the series index.item - the item index.double getZ(int series, int item)
series - the series index.item - the item index.