Package org.patternfly.layout.flex
Enum JustifyContent
- java.lang.Object
-
- java.lang.Enum<JustifyContent>
-
- org.patternfly.layout.flex.JustifyContent
-
- All Implemented Interfaces:
Serializable,Comparable<JustifyContent>,TypedModifier
public enum JustifyContent extends Enum<JustifyContent> implements TypedModifier
-
-
Enum Constant Summary
Enum Constants Enum Constant Description centerflexEndflexStartspaceAroundspaceBetweenspaceEvenly
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringmodifier()Stringvalue()static JustifyContentvalueOf(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
-
spaceEvenly
public static final JustifyContent spaceEvenly
-
-
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
-
value
public String value()
- Specified by:
valuein interfaceTypedModifier
-
modifier
public String modifier()
- Specified by:
modifierin interfaceTypedModifier
-
-