public enum BorderColor extends java.lang.Enum<BorderColor>
Modifier and Type | Method and Description |
---|---|
static BorderColor |
safeValue(java.lang.String name,
BorderColor def) |
static BorderColor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BorderColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BorderColor RED
public static final BorderColor GREEN
public static final BorderColor BLUE
public static BorderColor[] values()
for (BorderColor c : BorderColor.values()) System.out.println(c);
public static BorderColor 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 static BorderColor safeValue(java.lang.String name, BorderColor def)