public enum ColorNames extends java.lang.Enum<ColorNames>
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
hexval |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getHexValue(java.lang.String sin) |
static ColorNames |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ColorNames[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColorNames BLACK
public static final ColorNames WHITE
public static final ColorNames RED
public static final ColorNames GREEN
public static final ColorNames BLUE
public static final ColorNames YELLOW
public static final ColorNames MAGENTA
public static final ColorNames CYAN
public static final ColorNames GREY
public static final ColorNames GRAY
public static final ColorNames NEARGRAY
public static final ColorNames MEDIUMMAGENTA
public static final ColorNames PURPLE
public static final ColorNames LIGHTBLUE
public static final ColorNames COCOMACBLUE
public static final ColorNames VERYLIGHTBLUE
public static final ColorNames PALEYELLOW
public static final ColorNames MIDRED
public static final ColorNames MIDGREEN
public static final ColorNames MIDBLUE
public static final ColorNames LIGHTGRAY
public static final ColorNames DARKGRAY
public static final ColorNames MIDGRAY
public static final ColorNames VERYDARKGRAY
public static final ColorNames FAIRLYDARKGRAY
public static final ColorNames MIDYELLOW
public static final ColorNames DARKYELLOW
public static final ColorNames ORANGE
public static final ColorNames DARKORANGE
public static final ColorNames BRIGHTORANGE
public static final ColorNames LIGHTGREEN
public static final ColorNames DARKRED
public static final ColorNames DARKBLUE
public static final ColorNames DARKGREEN
public static final ColorNames MEDIUMGREEN
public static final ColorNames MEDIUMRED
public static final ColorNames MEDIUMBLUE
public static final ColorNames STEELBLUE
public static final ColorNames PINK
public static final ColorNames DARKPINK
public static final ColorNames PALEPINK
public static final ColorNames BROWN
public static final ColorNames DARKBROWN
public static final ColorNames BUFF
public static final ColorNames DARKBUFF
public static final ColorNames CCMBGREEN
public static final ColorNames DELTACOL
public static final ColorNames SPATCHBG
public static final ColorNames SPATCHCANVAS
public static final ColorNames BACKGROUND
public static ColorNames[] values()
for (ColorNames c : ColorNames.values()) System.out.println(c);
public static ColorNames 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 java.lang.String getHexValue(java.lang.String sin)
Copyright © 2013. All Rights Reserved.