Package org.apache.myfaces.tobago.layout
Enum JustifyContent
- java.lang.Object
-
- java.lang.Enum<JustifyContent>
-
- org.apache.myfaces.tobago.layout.JustifyContent
-
- All Implemented Interfaces:
Serializable
,Comparable<JustifyContent>
public enum JustifyContent extends Enum<JustifyContent>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description center
flexEnd
flexStart
spaceAround
spaceBetween
-
Field Summary
Fields Modifier and Type Field Description static String
CENTER
static String
FLEX_END
static String
FLEX_START
static String
SPACE_AROUND
static String
SPACE_BETWEEN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JustifyContent
valueOf(String name)
Returns the enum constant of this type with the specified name.static JustifyContent[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
flexStart
public static final JustifyContent flexStart
-
flexEnd
public static final JustifyContent flexEnd
-
center
public static final JustifyContent center
-
spaceBetween
public static final JustifyContent spaceBetween
-
spaceAround
public static final JustifyContent spaceAround
-
-
Field Detail
-
FLEX_START
public static final String FLEX_START
- See Also:
- Constant Field Values
-
FLEX_END
public static final String FLEX_END
- See Also:
- Constant Field Values
-
CENTER
public static final String CENTER
- See Also:
- Constant Field Values
-
SPACE_BETWEEN
public static final String SPACE_BETWEEN
- See Also:
- Constant Field Values
-
SPACE_AROUND
public static final String SPACE_AROUND
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static JustifyContent[] 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 (JustifyContent c : JustifyContent.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JustifyContent 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
-
-