Class VerticalTextAlign
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.style.VerticalTextAlign
-
- All Implemented Interfaces:
Serializable
public class VerticalTextAlign extends Object implements Serializable
Creation-Date: 24.11.2005, 17:08:01- Author:
- Thomas Morgner
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static VerticalTextAlign
BASELINE
static VerticalTextAlign
BOTTOM
static VerticalTextAlign
CENTRAL
static VerticalTextAlign
MIDDLE
static VerticalTextAlign
SUB
static VerticalTextAlign
SUPER
static VerticalTextAlign
TEXT_BOTTOM
static VerticalTextAlign
TEXT_TOP
static VerticalTextAlign
TOP
static VerticalTextAlign
USE_SCRIPT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
protected Object
readResolve()
Replaces the automatically generated instance with one of the enumeration instances.String
toString()
Returns a string representation of the object.static VerticalTextAlign
valueOf(String id)
-
-
-
Field Detail
-
USE_SCRIPT
public static final VerticalTextAlign USE_SCRIPT
-
BASELINE
public static final VerticalTextAlign BASELINE
-
SUB
public static final VerticalTextAlign SUB
-
SUPER
public static final VerticalTextAlign SUPER
-
TOP
public static final VerticalTextAlign TOP
-
TEXT_TOP
public static final VerticalTextAlign TEXT_TOP
-
CENTRAL
public static final VerticalTextAlign CENTRAL
-
MIDDLE
public static final VerticalTextAlign MIDDLE
-
BOTTOM
public static final VerticalTextAlign BOTTOM
-
TEXT_BOTTOM
public static final VerticalTextAlign TEXT_BOTTOM
-
-
Method Detail
-
readResolve
protected Object readResolve() throws ObjectStreamException
Replaces the automatically generated instance with one of the enumeration instances.- Returns:
- the resolved element
- Throws:
ObjectStreamException
- if the element could not be resolved.
-
valueOf
public static VerticalTextAlign valueOf(String id)
-
toString
public String toString()
Returns a string representation of the object. In general, thetoString
method returns a string that "textually represents" this object. The result should be a concise but informative representation that is easy for a person to read. It is recommended that all subclasses override this method. ThetoString
method for classObject
returns a string consisting of the name of the class of which the object is an instance, the at-sign character `@
', and the unsigned hexadecimal representation of the hash code of the object. In other words, this method returns a string equal to the value of:getClass().getName() + '@' + Integer.toHexString( hashCode() )
-
-