|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||
java.lang.Objectjava.lang.Enum
eu.hansolo.tools.ColorDef
public enum ColorDef extends Enum
Definition of colors that will be used in gradients etc. This is useful to assure that you use the same color combinations in all the different components. Each color is defined in three brightness levels.
| Enum Constant Summary | |
|---|---|
BLUE
|
|
CYAN
|
|
GRAY
|
|
GREEN
|
|
GREEN_LCD
|
|
JUG_GREEN
|
|
MAGENTA
|
|
ORANGE
|
|
RAITH
|
|
RED
|
|
WHITE
|
|
YELLOW
|
|
| Field Summary | |
|---|---|
Color |
DARK
Definition of colors that will be used in gradients etc. |
Color |
LIGHT
|
Color |
MEDIUM
|
| Method Summary | |
|---|---|
def
|
ColorDef(Color DARK_COLOR, Color MEDIUM_COLOR, Color LIGHT_COLOR)
|
ColorDef
|
valueOf(String name)
Returns the enum constant of this type with the specified name. |
ColorDef[]
|
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class Enum | |
|---|---|
| name, equals, toString, hashCode, compareTo, compareTo, valueOf, getDeclaringClass, ordinal, wait, wait, wait, getClass, notify, notifyAll |
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Enum Constant Detail |
|---|
ColorDef BLUE
ColorDef CYAN
ColorDef GRAY
ColorDef GREEN
ColorDef GREEN_LCD
ColorDef JUG_GREEN
ColorDef MAGENTA
ColorDef ORANGE
ColorDef RAITH
ColorDef RED
ColorDef WHITE
ColorDef YELLOW
| Field Detail |
|---|
public final Color DARK
public final Color LIGHT
public final Color MEDIUM
| Method Detail |
|---|
def ColorDef(Color DARK_COLOR, Color MEDIUM_COLOR, Color LIGHT_COLOR)
ColorDef valueOf(String name)
ColorDef[] values()
Groovy Documentation