Package org.jfree.chart.ui
Class VerticalAlignment
java.lang.Object
org.jfree.chart.ui.VerticalAlignment
- All Implemented Interfaces:
Serializable
An enumeration of the vertical alignment types (
TOP,
BOTTOM and CENTER).- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final VerticalAlignmentBottom alignment.static final VerticalAlignmentCenter alignment.private final StringThe name.private static final longFor serialization.static final VerticalAlignmentTop alignment. -
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:
-
TOP
Top alignment. -
BOTTOM
Bottom alignment. -
CENTER
Center alignment. -
name
The name.
-
-
Constructor Details
-
VerticalAlignment
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 value for the object. -
readResolve
Ensures that serialization returns the unique instances.- Returns:
- The object.
- Throws:
ObjectStreamException- if there is a problem.
-