Method Summary |
|
public void | add(SeriesDataset data) Adds one SeriesDataset to the combination. |
public void | add(SeriesDataset[] data) Adds an array of SeriesDataset's to the combination. |
public void | add(SeriesDataset data, int series) Adds one series from a SeriesDataset to the combination. |
public int | getChildPosition(Dataset child) Returns the child position.
Parameters: child - the child dataset. |
public Number | getClose(int series, int item) Returns the close-value for the specified series and item.
Note: throws ClassCastException if the series is not from a
OHLCDataset .
Parameters: series - the index of the series of interest (zero-based). Parameters: item - the index of the item of interest (zero-based). |
public double | getCloseValue(int series, int item) Returns the close-value (as a double primitive) for an item within a
series.
Parameters: series - the series (zero-based index). Parameters: item - the item (zero-based index). |
public Number | getEndX(int series, int item) Returns the ending X value for the specified series and item.
Parameters: series - the index of the series of interest (zero-based). Parameters: item - the index of the item of interest (zero-based). |
public Number | getEndY(int series, int item) Returns the ending Y value for the specified series and item.
Parameters: series - the index of the series of interest (zero-based). Parameters: item - the index of the item of interest (zero-based). |
public Number | getHigh(int series, int item) Returns the high-value for the specified series and item.
Note: throws ClassCastException if the series is not from a
OHLCDataset .
Parameters: series - the index of the series of interest (zero-based). Parameters: item - the index of the item of interest (zero-based). |
public double | getHighValue(int series, int item) Returns the high-value (as a double primitive) for an item within a
series.
Parameters: series - the series (zero-based index). Parameters: item - the item (zero-based index). |
public int | getItemCount(int series) Returns the number of items in a series.
Note: throws ClassCastException if the series is not from
a
XYDataset .
Parameters: series - the index of the series of interest (zero-based). |
public Number | getLow(int series, int item) Returns the low-value for the specified series and item.
Note: throws ClassCastException if the series is not from a
OHLCDataset .
Parameters: series - the index of the series of interest (zero-based). Parameters: item - the index of the item of interest (zero-based). |
public double | getLowValue(int series, int item) Returns the low-value (as a double primitive) for an item within a
series.
Parameters: series - the series (zero-based index). Parameters: item - the item (zero-based index). |
public int[] | getMap() Returns a map or indirect indexing form our series into parent's series.
Prior to calling this method, the client should check getParent() to make
sure the CombinationDataset uses the same parent. |
public Number | getOpen(int series, int item) Returns the open-value for the specified series and item.
Note: throws ClassCastException if the series is not from a
OHLCDataset .
Parameters: series - the index of the series of interest (zero-based). Parameters: item - the index of the item of interest (zero-based). |
public double | getOpenValue(int series, int item) Returns the open-value (as a double primitive) for an item within a
series.
Parameters: series - the series (zero-based index). Parameters: item - the item (zero-based index). |
public SeriesDataset | getParent() Returns the parent Dataset of this combination. |
public int | getSeriesCount() Returns the number of series in the dataset. |
public Comparable | getSeriesKey(int series) Returns the key for a series.
Parameters: series - the series (zero-based index). |
public Number | getStartX(int series, int item) Returns the starting X value for the specified series and item.
Parameters: series - the index of the series of interest (zero-based). Parameters: item - the index of the item of interest (zero-based). |
public Number | getStartY(int series, int item) Returns the starting Y value for the specified series and item.
Parameters: series - the index of the series of interest (zero-based). Parameters: item - the index of the item of interest (zero-based). |
public Number | getVolume(int series, int item) Returns the volume value for the specified series and item.
Note: throws ClassCastException if the series is not from a
OHLCDataset .
Parameters: series - the index of the series of interest (zero-based). Parameters: item - the index of the item of interest (zero-based). |
public double | getVolumeValue(int series, int item) Returns the volume-value (as a double primitive) for an item within a
series.
Parameters: series - the series (zero-based index). Parameters: item - the item (zero-based index). |
public Number | getX(int series, int item) Returns the X-value for the specified series and item.
Note: throws ClassCastException if the series is not from
a
XYDataset .
Parameters: series - the index of the series of interest (zero-based). Parameters: item - the index of the item of interest (zero-based). |
public Number | getY(int series, int item) Returns the Y-value for the specified series and item.
Note: throws ClassCastException if the series is not from
a
XYDataset .
Parameters: series - the index of the series of interest (zero-based). Parameters: item - the index of the item of interest (zero-based). |