public static enum Notification.Color extends Enum<Notification.Color>
Enum Constant and Description |
---|
GRAY |
GREEN |
PURPLE |
RANDOM |
RED |
YELLOW |
Modifier and Type | Method and Description |
---|---|
static Notification.Color |
fromValue(String value) |
String |
toString() |
String |
value() |
static Notification.Color |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Notification.Color[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Notification.Color YELLOW
public static final Notification.Color GREEN
public static final Notification.Color RED
public static final Notification.Color PURPLE
public static final Notification.Color GRAY
public static final Notification.Color RANDOM
public static Notification.Color[] values()
for (Notification.Color c : Notification.Color.values()) System.out.println(c);
public static Notification.Color 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 nullpublic String toString()
toString
in class Enum<Notification.Color>
public String value()
public static Notification.Color fromValue(String value)
Copyright © 2016–2018. All rights reserved.