public enum DeviceSize extends Enum<DeviceSize> implements Size
Enum Constant and Description |
---|
LG |
MD |
MD_LG |
PRINT |
SM |
SM_LG |
SM_MD |
SM_MD_LG |
XS |
XS_LG |
XS_MD |
XS_MD_LG |
XS_SM |
XS_SM_LG |
XS_SM_MD |
XS_SM_MD_LG |
Modifier and Type | Method and Description |
---|---|
static DeviceSize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeviceSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceSize PRINT
public static final DeviceSize XS
public static final DeviceSize SM
public static final DeviceSize MD
public static final DeviceSize LG
public static final DeviceSize XS_SM
public static final DeviceSize XS_MD
public static final DeviceSize XS_LG
public static final DeviceSize SM_MD
public static final DeviceSize SM_LG
public static final DeviceSize MD_LG
public static final DeviceSize XS_SM_MD
public static final DeviceSize XS_SM_LG
public static final DeviceSize XS_MD_LG
public static final DeviceSize SM_MD_LG
public static final DeviceSize XS_SM_MD_LG
public static DeviceSize[] values()
for (DeviceSize c : DeviceSize.values()) System.out.println(c);
public static DeviceSize valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2017. All rights reserved.