Package coop.intergal.ui.layout.size
Enum Vertical
- java.lang.Object
-
- java.lang.Enum<Vertical>
-
- coop.intergal.ui.layout.size.Vertical
-
- All Implemented Interfaces:
Size,Serializable,Comparable<Vertical>
public enum Vertical extends Enum<Vertical> 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 VerticalvalueOf(String name)Returns the enum constant of this type with the specified name.static Vertical[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTO
public static final Vertical AUTO
-
XS
public static final Vertical XS
-
S
public static final Vertical S
-
M
public static final Vertical M
-
L
public static final Vertical L
-
XL
public static final Vertical XL
-
RESPONSIVE_M
public static final Vertical RESPONSIVE_M
-
RESPONSIVE_L
public static final Vertical RESPONSIVE_L
-
RESPONSIVE_X
public static final Vertical RESPONSIVE_X
-
-
Method Detail
-
values
public static Vertical[] 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 (Vertical c : Vertical.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Vertical 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
-
-