Package org.apache.myfaces.tobago.layout
Enum Placement
- java.lang.Object
-
- java.lang.Enum<Placement>
-
- org.apache.myfaces.tobago.layout.Placement
-
- All Implemented Interfaces:
Serializable
,Comparable<Placement>
public enum Placement extends Enum<Placement>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description bottomCenter
bottomLeft
bottomRight
middleCenter
middleLeft
middleRight
topCenter
topLeft
topRight
-
Field Summary
Fields Modifier and Type Field Description static String
BOTTOM_CENTER
static String
BOTTOM_LEFT
static String
BOTTOM_RIGHT
static String
MIDDLE_CENTER
static String
MIDDLE_LEFT
static String
MIDDLE_RIGHT
static String
TOP_CENTER
static String
TOP_LEFT
static String
TOP_RIGHT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Placement
valueOf(String name)
Returns the enum constant of this type with the specified name.static Placement[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
topLeft
public static final Placement topLeft
-
topCenter
public static final Placement topCenter
-
topRight
public static final Placement topRight
-
middleLeft
public static final Placement middleLeft
-
middleCenter
public static final Placement middleCenter
-
middleRight
public static final Placement middleRight
-
bottomLeft
public static final Placement bottomLeft
-
bottomCenter
public static final Placement bottomCenter
-
bottomRight
public static final Placement bottomRight
-
-
Field Detail
-
TOP_LEFT
public static final String TOP_LEFT
- See Also:
- Constant Field Values
-
TOP_CENTER
public static final String TOP_CENTER
- See Also:
- Constant Field Values
-
TOP_RIGHT
public static final String TOP_RIGHT
- See Also:
- Constant Field Values
-
MIDDLE_LEFT
public static final String MIDDLE_LEFT
- See Also:
- Constant Field Values
-
MIDDLE_CENTER
public static final String MIDDLE_CENTER
- See Also:
- Constant Field Values
-
MIDDLE_RIGHT
public static final String MIDDLE_RIGHT
- See Also:
- Constant Field Values
-
BOTTOM_LEFT
public static final String BOTTOM_LEFT
- See Also:
- Constant Field Values
-
BOTTOM_CENTER
public static final String BOTTOM_CENTER
- See Also:
- Constant Field Values
-
BOTTOM_RIGHT
public static final String BOTTOM_RIGHT
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Placement[] 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 (Placement c : Placement.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Placement 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
-
-