public enum AnalogWatchfaceLayout extends java.lang.Enum<AnalogWatchfaceLayout>
Enum Constant and Description |
---|
INVALID |
MINIMAL |
MODERN |
TRADITIONAL |
Modifier and Type | Field and Description |
---|---|
protected short |
value |
Modifier and Type | Method and Description |
---|---|
static AnalogWatchfaceLayout |
getByValue(java.lang.Short value) |
static java.lang.String |
getStringFromValue(AnalogWatchfaceLayout value)
Retrieves the String Representation of the Value
|
short |
getValue() |
static AnalogWatchfaceLayout |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AnalogWatchfaceLayout[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AnalogWatchfaceLayout MINIMAL
public static final AnalogWatchfaceLayout TRADITIONAL
public static final AnalogWatchfaceLayout MODERN
public static final AnalogWatchfaceLayout INVALID
public static AnalogWatchfaceLayout[] values()
for (AnalogWatchfaceLayout c : AnalogWatchfaceLayout.values()) System.out.println(c);
public static AnalogWatchfaceLayout 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 static AnalogWatchfaceLayout getByValue(java.lang.Short value)
public static java.lang.String getStringFromValue(AnalogWatchfaceLayout value)
value
- The enum constantpublic short getValue()