Package org.jfree.data.xy
Class XYInterval
java.lang.Object
org.jfree.data.xy.XYInterval
- All Implemented Interfaces:
Serializable
An xy-interval. This class is used internally by the
XYIntervalDataItem class.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionXYInterval(double xLow, double xHigh, double y, double yLow, double yHigh) Creates a new instance ofXYInterval. -
Method Summary
Modifier and TypeMethodDescriptionbooleanTests this instance for equality with an arbitrary object.doublegetXHigh()Returns the upper bound of the x-interval.doublegetXLow()Returns the lower bound of the x-interval.doublegetY()Returns the y-value.doublegetYHigh()Returns the upper bound of the y-interval.doublegetYLow()Returns the lower bound of the y-interval.
-
Constructor Details
-
XYInterval
Creates a new instance ofXYInterval.- Parameters:
xLow- the lower bound of the x-interval.xHigh- the upper bound of the y-interval.y- the y-value.yLow- the lower bound of the y-interval.yHigh- the upper bound of the y-interval.
-
-
Method Details
-
getXLow
Returns the lower bound of the x-interval.- Returns:
- The lower bound of the x-interval.
-
getXHigh
Returns the upper bound of the x-interval.- Returns:
- The upper bound of the x-interval.
-
getY
Returns the y-value.- Returns:
- The y-value.
-
getYLow
Returns the lower bound of the y-interval.- Returns:
- The lower bound of the y-interval.
-
getYHigh
Returns the upper bound of the y-interval.- Returns:
- The upper bound of the y-interval.
-
equals
Tests this instance for equality with an arbitrary object.
-