public static enum VerticalAlign.Type extends java.lang.Enum<VerticalAlign.Type>
Enum Constant and Description |
---|
baseline
The element is placed on the baseline of the parent element
|
bottom
The bottom of the element is aligned with the lowest element on the
line
|
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 |
---|---|
java.lang.String |
toString() |
static VerticalAlign.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VerticalAlign.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VerticalAlign.Type baseline
public static final VerticalAlign.Type sub
public static final VerticalAlign.Type super_
public static final VerticalAlign.Type top
public static final VerticalAlign.Type text_top
public static final VerticalAlign.Type middle
public static final VerticalAlign.Type bottom
public static final VerticalAlign.Type text_bottom
public static VerticalAlign.Type[] values()
for (VerticalAlign.Type c : VerticalAlign.Type.values()) System.out.println(c);
public static VerticalAlign.Type 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 java.lang.String toString()
toString
in class java.lang.Enum<VerticalAlign.Type>