public enum Status extends Enum<Status> implements Key
ToastItem
.Enum Constant and Description |
---|
CLOSED
The toast is shown and closed.
|
DISCARDED
The toast has been discarded because the maximum amount of open items is reached.
|
INVALID
The toast is invalid, doesn't have any label or title context to show.
|
OPENED
The toast is opened and showing.
|
QUEUED
The toast is in the queue.
|
UNKNOWN
The status is unknown, default.
|
Modifier and Type | Method and Description |
---|---|
String |
value()
Returns the name value of property
|
static Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
checkAndGetIfValid, checkIfValid, compare, create, equals, getKeyByValue, getKeyByValue, hasKeyByValue, isValid
public static final Status OPENED
public static final Status CLOSED
public static final Status QUEUED
public static final Status INVALID
public static final Status DISCARDED
public static final Status UNKNOWN
public static Status[] values()
for (Status c : Status.values()) System.out.println(c);
public static Status 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