org.jfree.ui

Class HorizontalAlignment

public final class HorizontalAlignment extends Object implements Serializable

An enumeration of the horizontal alignment types (LEFT, RIGHT and CENTER).

Author: David Gilbert

Field Summary
static HorizontalAlignmentCENTER
Center alignment.
static HorizontalAlignmentLEFT
Left alignment.
static HorizontalAlignmentRIGHT
Right alignment.
Method Summary
booleanequals(Object obj)
Returns true if this object is equal to the specified object, and false otherwise.
inthashCode()
Returns a hash code value for the object.
StringtoString()
Returns a string representing the object.

Field Detail

CENTER

public static final HorizontalAlignment CENTER
Center alignment.

LEFT

public static final HorizontalAlignment LEFT
Left alignment.

RIGHT

public static final HorizontalAlignment RIGHT
Right alignment.

Method Detail

equals

public boolean equals(Object obj)
Returns true if this object is equal to the specified object, and false otherwise.

Parameters: obj the object (null permitted).

Returns: A boolean.

hashCode

public int hashCode()
Returns a hash code value for the object.

Returns: The hashcode

toString

public String toString()
Returns a string representing the object.

Returns: The string.