org.jfree.ui

Class VerticalAlignment

Implemented Interfaces:
Serializable

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

An enumeration of the vertical alignment types (TOP, BOTTOM and CENTER).
Author:
David Gilbert

Field Summary

static VerticalAlignment
BOTTOM
Bottom alignment.
static VerticalAlignment
CENTER
Center alignment.
static VerticalAlignment
TOP
Top alignment.

Method Summary

boolean
equals(Object o)
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

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 Details

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.