- java.lang.Object
-
- org.jfree.data.ComparableObjectItem
-
- org.jfree.data.xy.YIntervalDataItem
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<ComparableObjectItem>
public class YIntervalDataItem extends ComparableObjectItem
An item representing data in the form (x, y, y-low, y-high).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description YIntervalDataItem(double x, double y, double yLow, double yHigh)Creates a new instance ofYIntervalDataItem.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoublegetX()Returns the x-value.doublegetYHighValue()Returns the upper bound of the y-interval.doublegetYLowValue()Returns the lower bound of the y-interval.doublegetYValue()Returns the y-value.-
Methods inherited from class org.jfree.data.ComparableObjectItem
clone, compareTo, equals, getComparable, getObject, hashCode, setObject
-
-
-
-
Constructor Detail
-
YIntervalDataItem
public YIntervalDataItem(double x, double y, double yLow, double yHigh)
Creates a new instance ofYIntervalDataItem.- Parameters:
x- the x-value.y- the y-value.yLow- the lower bound of the y-interval.yHigh- the upper bound of the y-interval.
-
-
Method Detail
-
getYValue
public double getYValue()
Returns the y-value.- Returns:
- The y-value.
-
getYLowValue
public double getYLowValue()
Returns the lower bound of the y-interval.- Returns:
- The lower bound of the y-interval.
-
getYHighValue
public double getYHighValue()
Returns the upper bound of the y-interval.- Returns:
- The upper bound of the y-interval.
-
-