Class HorizontalAlignment
java.lang.Object
org.jfree.chart.ui.HorizontalAlignment
- All Implemented Interfaces:
Serializable
An enumeration of the horizontal alignment types (
LEFT,
RIGHT and CENTER).- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final HorizontalAlignmentCenter alignment.static final HorizontalAlignmentLeft alignment.private StringThe name.static final HorizontalAlignmentRight alignment.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 value for the object.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:
-
LEFT
Left alignment. -
RIGHT
Right alignment. -
CENTER
Center alignment. -
name
The name.
-
-
Constructor Details
-
HorizontalAlignment
-
-
Method Details
-
toString
-
equals
-
hashCode
-
readResolve
Ensures that serialization returns the unique instances.- Returns:
- The object.
- Throws:
ObjectStreamException- if there is a problem.
-