public enum ScreenType extends java.lang.Enum<ScreenType>
Enum Constant and Description |
---|
CAPACITIVE |
NOTOUCH |
RESISTIVE |
Modifier and Type | Method and Description |
---|---|
static ScreenType |
getEnum(java.lang.String value) |
java.lang.String |
toString() |
static ScreenType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScreenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScreenType CAPACITIVE
public static final ScreenType RESISTIVE
public static final ScreenType NOTOUCH
public static ScreenType[] values()
for (ScreenType c : ScreenType.values()) System.out.println(c);
public static ScreenType 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 null@Nullable public static ScreenType getEnum(@NonNull java.lang.String value)
public java.lang.String toString()
toString
in class java.lang.Enum<ScreenType>