Package coop.intergal.ui.layout.size
Enum Uniform
- java.lang.Object
-
- java.lang.Enum<Uniform>
-
- coop.intergal.ui.layout.size.Uniform
-
- All Implemented Interfaces:
Size,Serializable,Comparable<Uniform>
public enum Uniform extends Enum<Uniform> implements Size
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTOLMRESPONSIVE_LRESPONSIVE_MSXLXS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String[]getMarginAttributes()String[]getPaddingAttributes()StringgetSpacingClassName()StringgetVariable()static UniformvalueOf(String name)Returns the enum constant of this type with the specified name.static Uniform[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTO
public static final Uniform AUTO
-
XS
public static final Uniform XS
-
S
public static final Uniform S
-
M
public static final Uniform M
-
L
public static final Uniform L
-
XL
public static final Uniform XL
-
RESPONSIVE_M
public static final Uniform RESPONSIVE_M
-
RESPONSIVE_L
public static final Uniform RESPONSIVE_L
-
-
Method Detail
-
values
public static Uniform[] 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 (Uniform c : Uniform.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Uniform 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
-
getMarginAttributes
public String[] getMarginAttributes()
- Specified by:
getMarginAttributesin interfaceSize
-
getPaddingAttributes
public String[] getPaddingAttributes()
- Specified by:
getPaddingAttributesin interfaceSize
-
getSpacingClassName
public String getSpacingClassName()
- Specified by:
getSpacingClassNamein interfaceSize
-
getVariable
public String getVariable()
- Specified by:
getVariablein interfaceSize
-
-