Package org.patternfly.style
Enum Width
- java.lang.Object
-
- java.lang.Enum<Width>
-
- org.patternfly.style.Width
-
- All Implemented Interfaces:
Serializable,Comparable<Width>,TypedModifier
public enum Width extends Enum<Width> implements TypedModifier
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringmodifier()Stringvalue()static WidthvalueOf(String name)Returns the enum constant of this type with the specified name.static Width[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
width10
public static final Width width10
-
width15
public static final Width width15
-
width20
public static final Width width20
-
width25
public static final Width width25
-
width30
public static final Width width30
-
width33
public static final Width width33
-
width35
public static final Width width35
-
width40
public static final Width width40
-
width45
public static final Width width45
-
width50
public static final Width width50
-
width60
public static final Width width60
-
width66
public static final Width width66
-
width70
public static final Width width70
-
width75
public static final Width width75
-
width80
public static final Width width80
-
width90
public static final Width width90
-
width100
public static final Width width100
-
-
Method Detail
-
values
public static Width[] 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 (Width c : Width.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Width 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
-
-