public enum ViewportSize extends java.lang.Enum<ViewportSize>
Enum Constant and Description |
---|
DESKTOP |
MOBILE_LANDSCAPE |
PORTRAIT_MOBILE |
TABLET |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCssClassPrefix() |
java.lang.String |
getIcon() |
java.lang.String |
getLabel() |
int |
getMaxWidth() |
int |
getMinWidth() |
int |
getModulesPerRow() |
int |
getOrder() |
java.lang.String |
getViewportSizeId() |
static ViewportSize |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ViewportSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ViewportSize DESKTOP
public static final ViewportSize MOBILE_LANDSCAPE
public static final ViewportSize PORTRAIT_MOBILE
public static final ViewportSize TABLET
public static ViewportSize[] values()
for (ViewportSize c : ViewportSize.values()) System.out.println(c);
public static ViewportSize valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getCssClassPrefix()
public java.lang.String getIcon()
public java.lang.String getLabel()
public int getMaxWidth()
public int getMinWidth()
public int getModulesPerRow()
public int getOrder()
public java.lang.String getViewportSizeId()