Package org.jfree.chart.util
Class XYCoordinateType
java.lang.Object
org.jfree.chart.util.XYCoordinateType
- All Implemented Interfaces:
Serializable
Represents several possible interpretations for an (x, y) coordinate.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final XYCoordinateTypeThe (x, y) coordinates represent a point in the data space.static final XYCoordinateTypeThe (x, y) coordinates represent indices in a dataset.private StringThe name.static final XYCoordinateTypeThe (x, y) coordinates represent a relative position in the data space. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DATA
The (x, y) coordinates represent a point in the data space. -
RELATIVE
The (x, y) coordinates represent a relative position in the data space. In this case, the values should be in the range (0.0 to 1.0). -
INDEX
The (x, y) coordinates represent indices in a dataset. In this case, the values should be in the range (0.0 to 1.0). -
name
The name.
-
-
Constructor Details
-
XYCoordinateType
Private constructor.- Parameters:
name- the name.
-
-
Method Details
-
toString
Returns a string representing the object. -
equals
Returnstrueif this object is equal to the specified object, andfalseotherwise. -
readResolve
Ensures that serialization returns the unique instances.- Returns:
- The object.
- Throws:
ObjectStreamException- if there is a problem.
-