java.lang.Object | |
↳ | org.jfree.data.xy.XYDataItem |
Represents one (x, y) data item for an XYSeries
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new data item.
| |||||||||||
Constructs a new data item.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a clone of this object.
| |||||||||||
Returns an integer indicating the order of this object relative to
another object.
| |||||||||||
Tests if this object is equal to another.
| |||||||||||
Returns the x-value.
| |||||||||||
Returns the x-value as a double primitive.
| |||||||||||
Returns the y-value.
| |||||||||||
Returns the y-value as a double primitive.
| |||||||||||
Returns a hash code.
| |||||||||||
Sets the y-value for this data item.
| |||||||||||
Sets the y-value for this data item.
| |||||||||||
Returns a string representing this instance, primarily for debugging
use.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Constructs a new data item.
x | the x-value (null NOT permitted). |
---|---|
y | the y-value (null permitted).
|
Constructs a new data item.
x | the x-value. |
---|---|
y | the y-value. |
Returns a clone of this object.
CloneNotSupportedException | not thrown by this class, but subclasses may differ. |
---|
Returns an integer indicating the order of this object relative to another object.
For the order we consider only the x-value: negative == "less-than", zero == "equal", positive == "greater-than".
o1 | the object being compared to. |
---|
Tests if this object is equal to another.
obj | the object to test against for equality (null
permitted). |
---|
Returns a hash code.
Sets the y-value for this data item. Note that there is no corresponding method to change the x-value.
y | the new y-value. |
---|
Sets the y-value for this data item. Note that there is no corresponding method to change the x-value.
y | the new y-value (null permitted).
|
---|
Returns a string representing this instance, primarily for debugging use.