Enum Constant and Description |
---|
BLACK
Black.
|
BLUE
Navy.
|
BROWN
Maroon.
|
GREEN
Green.
|
GREY
Grey.
|
LIGHT_BLUE
RoyalBlue.
|
LIGHT_CYAN
Cyan.
|
LIGHT_GREEN
Lime.
|
LIGHT_GREY
Silver.
|
ORANGE
Orange.
|
PINK
Fuchsia.
|
PURPLE
Purple.
|
RED
Red.
|
TEAL
Teal.
|
WHITE
White.
|
YELLOW
Yellow.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHtml()
Get the HTML representation of this color.
|
static Color |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Color[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Color WHITE
public static final Color BLACK
public static final Color BLUE
public static final Color GREEN
public static final Color RED
public static final Color BROWN
public static final Color PURPLE
public static final Color ORANGE
public static final Color YELLOW
public static final Color LIGHT_GREEN
public static final Color TEAL
public static final Color LIGHT_CYAN
public static final Color LIGHT_BLUE
public static final Color PINK
public static final Color GREY
public static final Color LIGHT_GREY
public static Color[] values()
for (Color c : Color.values()) System.out.println(c);
public static Color 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 java.lang.String getHtml()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.