org.pentaho.reporting.engine.classic.core
Class ElementAlignment

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.ElementAlignment
All Implemented Interfaces:
Serializable

public final class ElementAlignment
extends Object
implements Serializable

Represents the alignment of an element.

Author:
Thomas Morgner
See Also:
Serialized Form

Field Summary
static ElementAlignment BOTTOM
          A constant for bottom alignment.
static ElementAlignment CENTER
          A constant for center alignment (horizontal).
static ElementAlignment JUSTIFY
           
static ElementAlignment LEFT
          A constant for left alignment.
static ElementAlignment MIDDLE
          A constant for middle alignment (vertical).
static ElementAlignment RIGHT
          A constant for right alignment.
static ElementAlignment TOP
          A constant for top alignment.
 
Method Summary
 boolean equals(Object o)
           
 int hashCode()
           
 String toString()
          Returns the alignment name.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

LEFT

public static final ElementAlignment LEFT
A constant for left alignment.


CENTER

public static final ElementAlignment CENTER
A constant for center alignment (horizontal).


RIGHT

public static final ElementAlignment RIGHT
A constant for right alignment.


JUSTIFY

public static final ElementAlignment JUSTIFY

TOP

public static final ElementAlignment TOP
A constant for top alignment.


MIDDLE

public static final ElementAlignment MIDDLE
A constant for middle alignment (vertical).


BOTTOM

public static final ElementAlignment BOTTOM
A constant for bottom alignment.

Method Detail

toString

public String toString()
Returns the alignment name.

Overrides:
toString in class Object
Returns:
the alignment name.

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object