public enum VerticalAlignType extends Enum<VerticalAlignType>
| Enum Constant and Description |
|---|
BASELINE
Align the baseline of the element with the baseline of the parent element.
|
BOTTOM
The bottom of the element is aligned with the lowest element on the line.
|
INHERIT
Specifies that the value of the vertical-align property should be inherited from the parent element.
|
MIDDLE
The element is placed in the middle of the parent element.
|
SUB
Aligns the element as it was subscript.
|
SUPER
Aligns the element as it was superscript.
|
TEXT_BOTTOM
The bottom of the element is aligned with the bottom of the parent element's font.
|
TEXT_TOP
The top of the element is aligned with the top of the parent element's font.
|
TOP
The top of the element is aligned with the top of the tallest element on the line.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static VerticalAlignType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VerticalAlignType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VerticalAlignType BASELINE
public static final VerticalAlignType SUB
public static final VerticalAlignType SUPER
public static final VerticalAlignType TOP
public static final VerticalAlignType TEXT_TOP
public static final VerticalAlignType MIDDLE
public static final VerticalAlignType BOTTOM
public static final VerticalAlignType TEXT_BOTTOM
public static final VerticalAlignType INHERIT
public static VerticalAlignType[] values()
for (VerticalAlignType c : VerticalAlignType.values()) System.out.println(c);
public static VerticalAlignType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<VerticalAlignType>Copyright © 2017 etc.to. All rights reserved.