public class VerticalTextAlign extends Object implements Serializable
Modifier and Type | Field and 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 |
Modifier and Type | Method and 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) |
public static final VerticalTextAlign USE_SCRIPT
public static final VerticalTextAlign BASELINE
public static final VerticalTextAlign SUB
public static final VerticalTextAlign SUPER
public static final VerticalTextAlign TOP
public static final VerticalTextAlign TEXT_TOP
public static final VerticalTextAlign CENTRAL
public static final VerticalTextAlign MIDDLE
public static final VerticalTextAlign BOTTOM
public static final VerticalTextAlign TEXT_BOTTOM
protected Object readResolve() throws ObjectStreamException
ObjectStreamException
- if the element could not be resolved.public static VerticalTextAlign valueOf(String id)
public String toString()
toString
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.
The toString
method for class Object
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() )
Copyright © 2017 Hitachi Vantara. All rights reserved.