Package org.jfree.data.xy
Class XYIntervalDataItem
java.lang.Object
org.jfree.data.ComparableObjectItem
org.jfree.data.xy.XYIntervalDataItem
- All Implemented Interfaces:
Serializable,Cloneable,Comparable
An item representing data in the form (x, x-low, x-high, y, y-low, y-high).
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionXYIntervalDataItem(double x, double xLow, double xHigh, double y, double yLow, double yHigh) Creates a new instance ofXYIntervalItem. -
Method Summary
Modifier and TypeMethodDescriptiongetX()Returns the x-value.doubleReturns the upper bound of the x-interval.doubleReturns the lower bound of the x-interval.doubleReturns the upper bound of the y-interval.doubleReturns the lower bound of the y-interval.doubleReturns the y-value.Methods inherited from class org.jfree.data.ComparableObjectItem
clone, compareTo, equals, getComparable, getObject, hashCode, setObject
-
Constructor Details
-
XYIntervalDataItem
Creates a new instance ofXYIntervalItem.- 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.yLow- the lower bound of the y-interval.yHigh- the upper bound of the y-interval.
-
-
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.
-
getYLowValue
Returns the lower bound of the y-interval.- Returns:
- The lower bound of the y-interval.
-
getYHighValue
Returns the upper bound of the y-interval.- Returns:
- The upper bound of the y-interval.
-