public static enum Style.VerticalAlign extends java.lang.Enum<Style.VerticalAlign> implements Style.HasCssName
| Enum Constant and Description |
|---|
BASELINE |
BOTTOM |
MIDDLE |
SUB |
SUPER |
TEXT_BOTTOM |
TEXT_TOP |
TOP |
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
getCssName()
Gets the CSS name associated with this value.
|
static Style.VerticalAlign |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Style.VerticalAlign[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Style.VerticalAlign BASELINE
public static final Style.VerticalAlign SUB
public static final Style.VerticalAlign SUPER
public static final Style.VerticalAlign TOP
public static final Style.VerticalAlign TEXT_TOP
public static final Style.VerticalAlign MIDDLE
public static final Style.VerticalAlign BOTTOM
public static final Style.VerticalAlign TEXT_BOTTOM
public static Style.VerticalAlign[] values()
for (Style.VerticalAlign c : Style.VerticalAlign.values()) System.out.println(c);
public static Style.VerticalAlign valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic abstract java.lang.String getCssName()
Style.HasCssNamegetCssName in interface Style.HasCssName