Package org.jfree.ui
Class HorizontalAlignment
- java.lang.Object
-
- org.jfree.ui.HorizontalAlignment
-
- All Implemented Interfaces:
java.io.Serializable
public final class HorizontalAlignment extends java.lang.Object implements java.io.Serializable
An enumeration of the horizontal alignment types (LEFT,RIGHTandCENTER).- Author:
- David Gilbert
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static HorizontalAlignmentCENTERCenter alignment.static HorizontalAlignmentLEFTLeft alignment.static HorizontalAlignmentRIGHTRight alignment.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)Returnstrueif this object is equal to the specified object, andfalseotherwise.inthashCode()Returns a hash code value for the object.java.lang.StringtoString()Returns a string representing the object.
-
-
-
Field Detail
-
LEFT
public static final HorizontalAlignment LEFT
Left alignment.
-
RIGHT
public static final HorizontalAlignment RIGHT
Right alignment.
-
CENTER
public static final HorizontalAlignment CENTER
Center alignment.
-
-
Method Detail
-
toString
public java.lang.String toString()
Returns a string representing the object.- Overrides:
toStringin classjava.lang.Object- Returns:
- The string.
-
equals
public boolean equals(java.lang.Object obj)
Returnstrueif this object is equal to the specified object, andfalseotherwise.- Overrides:
equalsin classjava.lang.Object- Parameters:
obj- the object (nullpermitted).- Returns:
- A boolean.
-
hashCode
public int hashCode()
Returns a hash code value for the object.- Overrides:
hashCodein classjava.lang.Object- Returns:
- The hashcode
-
-