Package org.apache.myfaces.tobago.layout
Enum VerticalAlign
- java.lang.Object
-
- java.lang.Enum<VerticalAlign>
-
- org.apache.myfaces.tobago.layout.VerticalAlign
-
- All Implemented Interfaces:
Serializable
,Comparable<VerticalAlign>
public enum VerticalAlign extends Enum<VerticalAlign>
Values for vertical alignments used with CSS.Note: the enums are not capitalized, because of problems with
PropertyEditor
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VerticalAlign
valueOf(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.
-
-
-
Enum Constant Detail
-
top
public static final VerticalAlign top
-
bottom
public static final VerticalAlign bottom
-
middle
public static final VerticalAlign middle
-
-
Field Detail
-
TOP
public static final String TOP
Internal constant to use in annotations. Please usetop
- See Also:
- Constant Field Values
-
BOTTOM
public static final String BOTTOM
Internal constant to use in annotations. Please usebottom
- See Also:
- Constant Field Values
-
MIDDLE
public static final String MIDDLE
Internal constant to use in annotations. Please usemiddle
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static VerticalAlign[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (VerticalAlign c : VerticalAlign.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VerticalAlign valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-