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