public static enum LockPatternView.DisplayMode extends Enum<LockPatternView.DisplayMode>
Enum Constant and Description |
---|
Animate
Animate the pattern (for demo, and help).
|
Correct
The pattern drawn is correct (i.e draw it in a friendly color)
|
Wrong
The pattern is wrong (i.e draw a foreboding color)
|
Modifier and Type | Method and Description |
---|---|
static LockPatternView.DisplayMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LockPatternView.DisplayMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LockPatternView.DisplayMode Correct
public static final LockPatternView.DisplayMode Animate
public static final LockPatternView.DisplayMode Wrong
public static LockPatternView.DisplayMode[] values()
for (LockPatternView.DisplayMode c : LockPatternView.DisplayMode.values()) System.out.println(c);
public static LockPatternView.DisplayMode 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