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 CategoryAnchor
End of period.static final CategoryAnchor
Middle of period.private final String
The name.private static final long
For serialization.static final CategoryAnchor
Start 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
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.
-