Package org.jfree.chart.axis
Class AxisLabelLocation
java.lang.Object
org.jfree.chart.axis.AxisLabelLocation
- All Implemented Interfaces:
Serializable
Used to indicate the location of an axis label.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AxisLabelLocationAxis label at the top.static final AxisLabelLocationAxis label at the bottom.static final AxisLabelLocationAxis label at the middle.private final StringThe name.private static final longFor serialization. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturnstrueif this object is equal to the specified object, andfalseotherwise.inthashCode()Returns a hash code for this instance.private ObjectEnsures that serialization returns the unique instances.toString()Returns a string representing the object.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDFor serialization.- See Also:
-
HIGH_END
Axis label at the top. -
MIDDLE
Axis label at the middle. -
LOW_END
Axis label at the bottom. -
name
The name.
-
-
Constructor Details
-
AxisLabelLocation
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. -
hashCode
public int hashCode()Returns a hash code for this instance. -
readResolve
Ensures that serialization returns the unique instances.- Returns:
- The object.
- Throws:
ObjectStreamException- if there is a problem.
-