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 XYCoordinateType
The (x, y) coordinates represent a point in the data space.static final XYCoordinateType
The (x, y) coordinates represent indices in a dataset.private String
The name.static final XYCoordinateType
The (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
Returnstrue
if this object is equal to the specified object, andfalse
otherwise. -
readResolve
Ensures that serialization returns the unique instances.- Returns:
- The object.
- Throws:
ObjectStreamException
- if there is a problem.
-