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