org.jfree.ui

Class HorizontalAlignment

Implemented Interfaces:
Serializable

public final class HorizontalAlignment
extends java.lang.Object
implements Serializable

An enumeration of the horizontal alignment types (LEFT, RIGHT and CENTER).
Author:
David Gilbert

Field Summary

static HorizontalAlignment
CENTER
Center alignment.
static HorizontalAlignment
LEFT
Left alignment.
static HorizontalAlignment
RIGHT
Right alignment.

Method Summary

boolean
equals(Object obj)
Returns true if this object is equal to the specified object, and false otherwise.
int
hashCode()
Returns a hash code value for the object.
String
toString()
Returns a string representing the object.

Field Details

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 Details

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.