Serializable
, Comparable<DeviceConfig.ScreenSize>
public static enum DeviceConfig.ScreenSize extends Enum<DeviceConfig.ScreenSize>
Modifier and Type | Field | Description |
---|---|---|
int |
height |
|
int |
landscapeHeight |
|
int |
landscapeWidth |
|
int |
width |
Modifier and Type | Method | Description |
---|---|---|
static DeviceConfig.ScreenSize |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static DeviceConfig.ScreenSize[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeviceConfig.ScreenSize small
public static final DeviceConfig.ScreenSize normal
public static final DeviceConfig.ScreenSize large
public static final DeviceConfig.ScreenSize xlarge
public final int width
public final int height
public final int landscapeWidth
public final int landscapeHeight
public static DeviceConfig.ScreenSize[] values()
for (DeviceConfig.ScreenSize c : DeviceConfig.ScreenSize.values()) System.out.println(c);
public static DeviceConfig.ScreenSize 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 null