|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object AbstractXYZDataset edu.ucla.stat.SOCR.chart.data.SampleXYZDataset
public class SampleXYZDataset
A quick-and-dirty implementation of the interface
.
Hard-coded and not useful beyond the demo.
Constructor Summary | |
---|---|
SampleXYZDataset()
|
Method Summary | |
---|---|
int |
getItemCount(int series)
Returns the number of items in a series. |
int |
getSeriesCount()
Returns the number of series in the dataset. |
java.lang.Comparable |
getSeriesKey(int series)
Returns the key for a series. |
java.lang.Number |
getX(int series,
int item)
Returns the x-value for an item within a series. |
java.lang.Number |
getY(int series,
int item)
Returns the y-value for an item within a series. |
java.lang.Number |
getZ(int series,
int item)
Returns the z-value for the specified series and item. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SampleXYZDataset()
Method Detail |
---|
public int getSeriesCount()
public java.lang.Comparable getSeriesKey(int series)
series
- the series (zero-based index).
public int getItemCount(int series)
series
- the series (zero-based index).
public java.lang.Number getX(int series, int item)
The implementation is responsible for ensuring that the x-values are presented in ascending order.
series
- the series (zero-based index).item
- the item (zero-based index).
public java.lang.Number getY(int series, int item)
series
- the series (zero-based index).item
- the item (zero-based index).
public java.lang.Number getZ(int series, int item)
series
- the series index (zero-based).item
- the item index (zero-based).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |