Package org.jfree.data.xy
Class XIntervalDataItem
java.lang.Object
org.jfree.data.ComparableObjectItem
org.jfree.data.xy.XIntervalDataItem
- All Implemented Interfaces:
Serializable,Cloneable,Comparable
public class XIntervalDataItem extends ComparableObjectItem
An item representing data in the form (x, x-low, x-high, y).
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description XIntervalDataItem(double x, double xLow, double xHigh, double y)Creates a new instance ofXIntervalDataItem. -
Method Summary
Modifier and Type Method Description NumbergetX()Returns the x-value.doublegetXHighValue()Returns the upper bound of the x-interval.doublegetXLowValue()Returns the lower bound of the x-interval.doublegetYValue()Returns the y-value.Methods inherited from class org.jfree.data.ComparableObjectItem
clone, compareTo, equals, getComparable, getObject, hashCode, setObject
-
Constructor Details
-
XIntervalDataItem
Creates a new instance ofXIntervalDataItem.- Parameters:
x- the x-value.xLow- the lower bound of the x-interval.xHigh- the upper bound of the x-interval.y- the y-value.
-
-
Method Details
-
getX
Returns the x-value.- Returns:
- The x-value (never
null).
-
getYValue
Returns the y-value.- Returns:
- The y-value.
-
getXLowValue
Returns the lower bound of the x-interval.- Returns:
- The lower bound of the x-interval.
-
getXHighValue
Returns the upper bound of the x-interval.- Returns:
- The upper bound of the x-interval.
-