|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<VerticalAlign>
com.osbcp.css.constants.VerticalAlign
public enum VerticalAlign
Values for the vertical-align property.
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
java.lang.String |
toString()
|
static VerticalAlign |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static VerticalAlign[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final VerticalAlign BASELINE
public static final VerticalAlign SUB
public static final VerticalAlign SUPER
public static final VerticalAlign TOP
public static final VerticalAlign TEXT_TOP
public static final VerticalAlign MIDDLE
public static final VerticalAlign BOTTOM
public static final VerticalAlign TEXT_BOTTOM
public static final VerticalAlign INHERIT
Method Detail |
---|
public static VerticalAlign[] values()
for (VerticalAlign c : VerticalAlign.values()) System.out.println(c);
public static 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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<VerticalAlign>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |