Package org.jfree.chart.axis
Class CategoryAnchor
java.lang.Object
org.jfree.chart.axis.CategoryAnchor
- All Implemented Interfaces:
Serializable
Used to indicate one of three positions within a category:
START, MIDDLE and END.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CategoryAnchorEnd of period.static final CategoryAnchorMiddle of period.private final StringThe name.private static final longFor serialization.static final CategoryAnchorStart of period. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor serialization.- See Also:
-
START
Start of period. -
MIDDLE
Middle of period. -
END
End of period. -
name
The name.
-
-
Constructor Details
-
CategoryAnchor
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.
-