Package org.patternfly.layout.flex
Enum Gap
- java.lang.Object
-
- java.lang.Enum<Gap>
-
- org.patternfly.layout.flex.Gap
-
- All Implemented Interfaces:
Serializable,Comparable<Gap>,TypedModifier
public enum Gap extends Enum<Gap> implements TypedModifier
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringmodifier()Stringvalue()static GapvalueOf(String name)Returns the enum constant of this type with the specified name.static Gap[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
gap
public static final Gap gap
-
none
public static final Gap none
-
xs
public static final Gap xs
-
sm
public static final Gap sm
-
md
public static final Gap md
-
lg
public static final Gap lg
-
xl
public static final Gap xl
-
_2xl
public static final Gap _2xl
-
_3xl
public static final Gap _3xl
-
_4xl
public static final Gap _4xl
-
-
Method Detail
-
values
public static Gap[] 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 (Gap c : Gap.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Gap 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
-
-