org.jfree.ui

Class VerticalAlignment

public final class VerticalAlignment extends Object implements Serializable

An enumeration of the vertical alignment types (TOP, BOTTOM and CENTER).

Author: David Gilbert

Field Summary
static VerticalAlignmentBOTTOM
Bottom alignment.
static VerticalAlignmentCENTER
Center alignment.
static VerticalAlignmentTOP
Top alignment.
Method Summary
booleanequals(Object o)
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

BOTTOM

public static final VerticalAlignment BOTTOM
Bottom alignment.

CENTER

public static final VerticalAlignment CENTER
Center alignment.

TOP

public static final VerticalAlignment TOP
Top alignment.

Method Detail

equals

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

Parameters: o the other object.

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.