public class

XIntervalDataItem

extends ComparableObjectItem
java.lang.Object
   ↳ org.jfree.data.ComparableObjectItem
     ↳ org.jfree.data.xy.XIntervalDataItem

Class Overview

An item representing data in the form (x, x-low, x-high, y).

Summary

Public Constructors
XIntervalDataItem(double x, double xLow, double xHigh, double y)
Creates a new instance of XIntervalDataItem.
Public Methods
Number getX()
Returns the x-value.
double getXHighValue()
Returns the upper bound of the x-interval.
double getXLowValue()
Returns the lower bound of the x-interval.
double getYValue()
Returns the y-value.
[Expand]
Inherited Methods
From class org.jfree.data.ComparableObjectItem
From class java.lang.Object
From interface java.lang.Comparable

Public Constructors

public XIntervalDataItem (double x, double xLow, double xHigh, double y)

Creates a new instance of XIntervalDataItem.

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.

Public Methods

public Number getX ()

Returns the x-value.

Returns
  • The x-value (never null).

public double getXHighValue ()

Returns the upper bound of the x-interval.

Returns
  • The upper bound of the x-interval.

public double getXLowValue ()

Returns the lower bound of the x-interval.

Returns
  • The lower bound of the x-interval.

public double getYValue ()

Returns the y-value.

Returns
  • The y-value.