Groovy Documentation

eu.hansolo.tools
[Java] Enum ColorDef

java.lang.Object
  java.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.

Authors:
hansolo


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

BLUE

ColorDef BLUE


CYAN

ColorDef CYAN


GRAY

ColorDef GRAY


GREEN

ColorDef GREEN


GREEN_LCD

ColorDef GREEN_LCD


JUG_GREEN

ColorDef JUG_GREEN


MAGENTA

ColorDef MAGENTA


ORANGE

ColorDef ORANGE


RAITH

ColorDef RAITH


RED

ColorDef RED


WHITE

ColorDef WHITE


YELLOW

ColorDef YELLOW


 
Field Detail

DARK

public final Color DARK
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.
Authors:
hansolo


LIGHT

public final Color LIGHT


MEDIUM

public final Color MEDIUM


 
Method Detail

ColorDef

def ColorDef(Color DARK_COLOR, Color MEDIUM_COLOR, Color LIGHT_COLOR)


valueOf

ColorDef valueOf(String name)
Returns the enum constant of this type with the specified name.


values

ColorDef[] values()
Returns an array containing the constants of this enum type, in the order they are declared.


 

Groovy Documentation