| org.jfree.data.xy.AbstractIntervalXYDataset org.jfree.data.time.TimeTableXYDataset
Method Summary | |
public void | add(TimePeriod period, double y, String seriesName) Adds a new data item to the dataset and sends a
org.jfree.data.general.DatasetChangeEvent to all registered
listeners. | public void | add(TimePeriod period, Number y, String seriesName, boolean notify) Adds a new data item to the dataset. | public Object | clone() Returns a clone of this dataset. | public boolean | equals(Object obj) Tests this dataset for equality with an arbitrary object.
Parameters: obj - the object (null permitted). | public Range | getDomainBounds(boolean includeInterval) Returns the range of the values in this dataset's domain.
Parameters: includeInterval - a flag that controls whether or not thex-intervals are taken into account. | public boolean | getDomainIsPointsInTime() Returns a flag that controls whether the domain is treated as 'points in
time'.
This flag is used when determining the max and min values for the domain.
If true, then only the x-values are considered for the max and min
values. | public double | getDomainLowerBound(boolean includeInterval) Returns the minimum x-value in the dataset.
Parameters: includeInterval - a flag that determines whether or not thex-interval is taken into account. | public double | getDomainUpperBound(boolean includeInterval) Returns the maximum x-value in the dataset.
Parameters: includeInterval - a flag that determines whether or not thex-interval is taken into account. | public Number | getEndX(int series, int item) Returns the ending X value for the specified series and item.
Parameters: series - the series (zero-based index). Parameters: item - the item within a series (zero-based index). | public double | getEndXValue(int series, int item) Returns the end x-value (as a double primitive) for an item within
a series.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). | public Number | getEndY(int series, int item) Returns the ending Y value for the specified series and item.
Parameters: series - the series (zero-based index). Parameters: item - the item within a series (zero-based index). | public int | getItemCount() Returns the number of items in ALL series. | public int | getItemCount(int series) Returns the number of items in a series. | 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 series (zero-based index). Parameters: item - the item within a series (zero-based index). | public double | getStartXValue(int series, int item) Returns the start x-value (as a double primitive) for an item within
a series.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). | public Number | getStartY(int series, int item) Returns the starting Y value for the specified series and item.
Parameters: series - the series (zero-based index). Parameters: item - the item within a series (zero-based index). | public TimePeriod | getTimePeriod(int item) Returns the time period for the specified item. | public Number | getX(int series, int item) Returns the x-value for an item within a series. | public TimePeriodAnchor | getXPosition() Returns the position within each time period that is used for the X
value. | public double | getXValue(int series, int item) Returns the x-value (as a double primitive) for an item within a series.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). | public Number | getY(int series, int item) Returns the y-value for an item within a series.
Parameters: series - the series (zero-based index). Parameters: item - the item (zero-based index). | public void | remove(TimePeriod period, String seriesName) Removes an existing data item from the dataset. | public void | remove(TimePeriod period, String seriesName, boolean notify) Removes an existing data item from the dataset. | public void | setDomainIsPointsInTime(boolean flag) Sets a flag that controls whether the domain is treated as 'points in
time', or time periods. | public void | setXPosition(TimePeriodAnchor anchor) Sets the position within each time period that is used for the X values,
then sends a
DatasetChangeEvent to all registered listeners. |
TimeTableXYDataset | public TimeTableXYDataset()(Code) | | Creates a new dataset.
|
TimeTableXYDataset | public TimeTableXYDataset(TimeZone zone)(Code) | | Creates a new dataset with the given time zone.
Parameters: zone - the time zone to use (null not permitted). |
TimeTableXYDataset | public TimeTableXYDataset(TimeZone zone, Locale locale)(Code) | | Creates a new dataset with the given time zone and locale.
Parameters: zone - the time zone to use (null not permitted). Parameters: locale - the locale to use (null not permitted). |
add | public void add(TimePeriod period, double y, String seriesName)(Code) | | Adds a new data item to the dataset and sends a
org.jfree.data.general.DatasetChangeEvent to all registered
listeners.
Parameters: period - the time period. Parameters: y - the value for this period. Parameters: seriesName - the name of the series to add the value. |
add | public void add(TimePeriod period, Number y, String seriesName, boolean notify)(Code) | | Adds a new data item to the dataset.
Parameters: period - the time period (null not permitted). Parameters: y - the value for this period (null permitted). Parameters: seriesName - the name of the series to add the value (null not permitted). Parameters: notify - whether dataset listener are notified or not. |
equals | public boolean equals(Object obj)(Code) | | Tests this dataset for equality with an arbitrary object.
Parameters: obj - the object (null permitted). A boolean. |
getDomainBounds | public Range getDomainBounds(boolean includeInterval)(Code) | | Returns the range of the values in this dataset's domain.
Parameters: includeInterval - a flag that controls whether or not thex-intervals are taken into account. The range. |
getDomainIsPointsInTime | public boolean getDomainIsPointsInTime()(Code) | | Returns a flag that controls whether the domain is treated as 'points in
time'.
This flag is used when determining the max and min values for the domain.
If true, then only the x-values are considered for the max and min
values. If false, then the start and end x-values will also be taken
into consideration.
The flag. |
getDomainLowerBound | public double getDomainLowerBound(boolean includeInterval)(Code) | | Returns the minimum x-value in the dataset.
Parameters: includeInterval - a flag that determines whether or not thex-interval is taken into account. The minimum value. |
getDomainUpperBound | public double getDomainUpperBound(boolean includeInterval)(Code) | | Returns the maximum x-value in the dataset.
Parameters: includeInterval - a flag that determines whether or not thex-interval is taken into account. The maximum value. |
getEndX | public Number getEndX(int series, int item)(Code) | | Returns the ending X value for the specified series and item.
Parameters: series - the series (zero-based index). Parameters: item - the item within a series (zero-based index). The ending X value for the specified series and item. |
getEndXValue | public double getEndXValue(int series, int item)(Code) | | Returns the end x-value (as a double primitive) for an item within
a series.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). The value. |
getEndY | public Number getEndY(int series, int item)(Code) | | Returns the ending Y value for the specified series and item.
Parameters: series - the series (zero-based index). Parameters: item - the item within a series (zero-based index). The ending Y value for the specified series and item. |
getItemCount | public int getItemCount()(Code) | | Returns the number of items in ALL series.
The item count. |
getItemCount | public int getItemCount(int series)(Code) | | Returns the number of items in a series. This is the same value
that is returned by
TimeTableXYDataset.getItemCount() since all series
share the same x-values (time periods).
Parameters: series - the series (zero-based index, ignored). The number of items within the series. |
getSeriesCount | public int getSeriesCount()(Code) | | Returns the number of series in the dataset.
The series count. |
getSeriesKey | public Comparable getSeriesKey(int series)(Code) | | Returns the key for a series.
Parameters: series - the series (zero-based index). The key for the series. |
getStartX | public Number getStartX(int series, int item)(Code) | | Returns the starting X value for the specified series and item.
Parameters: series - the series (zero-based index). Parameters: item - the item within a series (zero-based index). The starting X value for the specified series and item. |
getStartXValue | public double getStartXValue(int series, int item)(Code) | | Returns the start x-value (as a double primitive) for an item within
a series.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). The value. |
getStartY | public Number getStartY(int series, int item)(Code) | | Returns the starting Y value for the specified series and item.
Parameters: series - the series (zero-based index). Parameters: item - the item within a series (zero-based index). The starting Y value for the specified series and item. |
getTimePeriod | public TimePeriod getTimePeriod(int item)(Code) | | Returns the time period for the specified item. Bear in mind that all
series share the same set of time periods.
Parameters: item - the item index (0 <= i <= TimeTableXYDataset.getItemCount()). The time period. |
getX | public Number getX(int series, int item)(Code) | | Returns the x-value for an item within a series. The x-values may or
may not be returned in ascending order, that is up to the class
implementing the interface.
Parameters: series - the series (zero-based index). Parameters: item - the item (zero-based index). The x-value. |
getXPosition | public TimePeriodAnchor getXPosition()(Code) | | Returns the position within each time period that is used for the X
value.
The anchor position (never null ). |
getXValue | public double getXValue(int series, int item)(Code) | | Returns the x-value (as a double primitive) for an item within a series.
Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). The value. |
getY | public Number getY(int series, int item)(Code) | | Returns the y-value for an item within a series.
Parameters: series - the series (zero-based index). Parameters: item - the item (zero-based index). The y-value (possibly null ). |
remove | public void remove(TimePeriod period, String seriesName)(Code) | | Removes an existing data item from the dataset.
Parameters: period - the (existing!) time period of the value to remove (null not permitted). Parameters: seriesName - the (existing!) series name to remove the value (null not permitted). |
remove | public void remove(TimePeriod period, String seriesName, boolean notify)(Code) | | Removes an existing data item from the dataset.
Parameters: period - the (existing!) time period of the value to remove (null not permitted). Parameters: seriesName - the (existing!) series name to remove the value (null not permitted). Parameters: notify - whether dataset listener are notified or not. |
setDomainIsPointsInTime | public void setDomainIsPointsInTime(boolean flag)(Code) | | Sets a flag that controls whether the domain is treated as 'points in
time', or time periods. A
DatasetChangeEvent is sent to all
registered listeners.
Parameters: flag - the new value of the flag. |
setXPosition | public void setXPosition(TimePeriodAnchor anchor)(Code) | | Sets the position within each time period that is used for the X values,
then sends a
DatasetChangeEvent to all registered listeners.
Parameters: anchor - the anchor position (null not permitted). |
Methods inherited from org.jfree.data.xy.AbstractIntervalXYDataset | public double getEndXValue(int series, int item)(Code)(Java Doc) public double getEndYValue(int series, int item)(Code)(Java Doc) public double getStartXValue(int series, int item)(Code)(Java Doc) public double getStartYValue(int series, int item)(Code)(Java Doc)
|
|
|