com.panayotis.gnuplot.style
Enum NamedPlotColor

java.lang.Object
  extended by java.lang.Enum<NamedPlotColor>
      extended by com.panayotis.gnuplot.style.NamedPlotColor
All Implemented Interfaces:
PlotColor, java.io.Serializable, java.lang.Comparable<NamedPlotColor>

public enum NamedPlotColor
extends java.lang.Enum<NamedPlotColor>
implements PlotColor

This is a list of possible colors which the user is able to use under gnuplot


Enum Constant Summary
AQUAMARINE
           
BEIGE
           
BLACK
           
BLUE
           
BROWN
           
CORAL
           
CYAN
           
DARK_BLUE
           
DARK_CYAN
           
DARK_GOLDENROD
           
DARK_GRAY
           
DARK_GREEN
           
DARK_GREY
           
DARK_KHAKI
           
DARK_MAGENTA
           
DARK_ORANGE
           
DARK_PINK
           
DARK_RED
           
DARK_SALMON
           
DARK_TURQUOISE
           
DARK_VIOLET
           
DARK_YELLOW
           
FOREST_GREEN
           
GOLD
           
GOLDENROD
           
GRAY
           
GRAY0
           
GRAY10
           
GRAY100
           
GRAY20
           
GRAY30
           
GRAY40
           
GRAY50
           
GRAY60
           
GRAY70
           
GRAY80
           
GRAY90
           
GREEN
           
GREY
           
GREY0
           
GREY10
           
GREY100
           
GREY20
           
GREY30
           
GREY40
           
GREY50
           
GREY60
           
GREY70
           
GREY80
           
GREY90
           
KHAKI
           
LIGHT_BLUE
           
LIGHT_CORAL
           
LIGHT_CYAN
           
LIGHT_GOLDENROD
           
LIGHT_GRAY
           
LIGHT_GREEN
           
LIGHT_GREY
           
LIGHT_MAGENTA
           
LIGHT_PINK
           
LIGHT_RED
           
LIGHT_SALMON
           
LIGHT_TURQUOISE
           
LIGHT_YELLOW
           
MAGENTA
           
MEDIUM_BLUE
           
MIDNIGHT_BLUE
           
NAVY
           
ORANGE
           
ORANGE_RED
           
PINK
           
PLUM
           
PURPLE
           
RED
           
ROYALBLUE
           
SALMON
           
SEA_GREEN
           
SKYBLUE
           
SPRING_GREEN
           
TURQUOISE
           
VIOLET
           
WHITE
           
YELLOW
           
 
Method Summary
 java.lang.String getColor()
          Get the representation of this color
static NamedPlotColor valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static NamedPlotColor[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

WHITE

public static final NamedPlotColor WHITE

BLACK

public static final NamedPlotColor BLACK

GRAY0

public static final NamedPlotColor GRAY0

GREY0

public static final NamedPlotColor GREY0

GRAY10

public static final NamedPlotColor GRAY10

GREY10

public static final NamedPlotColor GREY10

GRAY20

public static final NamedPlotColor GRAY20

GREY20

public static final NamedPlotColor GREY20

GRAY30

public static final NamedPlotColor GRAY30

GREY30

public static final NamedPlotColor GREY30

GRAY40

public static final NamedPlotColor GRAY40

GREY40

public static final NamedPlotColor GREY40

GRAY50

public static final NamedPlotColor GRAY50

GREY50

public static final NamedPlotColor GREY50

GRAY60

public static final NamedPlotColor GRAY60

GREY60

public static final NamedPlotColor GREY60

GRAY70

public static final NamedPlotColor GRAY70

GREY70

public static final NamedPlotColor GREY70

GRAY80

public static final NamedPlotColor GRAY80

GREY80

public static final NamedPlotColor GREY80

GRAY90

public static final NamedPlotColor GRAY90

GREY90

public static final NamedPlotColor GREY90

GRAY100

public static final NamedPlotColor GRAY100

GREY100

public static final NamedPlotColor GREY100

GRAY

public static final NamedPlotColor GRAY

GREY

public static final NamedPlotColor GREY

LIGHT_GRAY

public static final NamedPlotColor LIGHT_GRAY

LIGHT_GREY

public static final NamedPlotColor LIGHT_GREY

DARK_GRAY

public static final NamedPlotColor DARK_GRAY

DARK_GREY

public static final NamedPlotColor DARK_GREY

RED

public static final NamedPlotColor RED

LIGHT_RED

public static final NamedPlotColor LIGHT_RED

DARK_RED

public static final NamedPlotColor DARK_RED

YELLOW

public static final NamedPlotColor YELLOW

LIGHT_YELLOW

public static final NamedPlotColor LIGHT_YELLOW

DARK_YELLOW

public static final NamedPlotColor DARK_YELLOW

GREEN

public static final NamedPlotColor GREEN

LIGHT_GREEN

public static final NamedPlotColor LIGHT_GREEN

DARK_GREEN

public static final NamedPlotColor DARK_GREEN

SPRING_GREEN

public static final NamedPlotColor SPRING_GREEN

FOREST_GREEN

public static final NamedPlotColor FOREST_GREEN

SEA_GREEN

public static final NamedPlotColor SEA_GREEN

BLUE

public static final NamedPlotColor BLUE

LIGHT_BLUE

public static final NamedPlotColor LIGHT_BLUE

DARK_BLUE

public static final NamedPlotColor DARK_BLUE

MIDNIGHT_BLUE

public static final NamedPlotColor MIDNIGHT_BLUE

NAVY

public static final NamedPlotColor NAVY

MEDIUM_BLUE

public static final NamedPlotColor MEDIUM_BLUE

ROYALBLUE

public static final NamedPlotColor ROYALBLUE

SKYBLUE

public static final NamedPlotColor SKYBLUE

CYAN

public static final NamedPlotColor CYAN

LIGHT_CYAN

public static final NamedPlotColor LIGHT_CYAN

DARK_CYAN

public static final NamedPlotColor DARK_CYAN

MAGENTA

public static final NamedPlotColor MAGENTA

LIGHT_MAGENTA

public static final NamedPlotColor LIGHT_MAGENTA

DARK_MAGENTA

public static final NamedPlotColor DARK_MAGENTA

TURQUOISE

public static final NamedPlotColor TURQUOISE

LIGHT_TURQUOISE

public static final NamedPlotColor LIGHT_TURQUOISE

DARK_TURQUOISE

public static final NamedPlotColor DARK_TURQUOISE

PINK

public static final NamedPlotColor PINK

LIGHT_PINK

public static final NamedPlotColor LIGHT_PINK

DARK_PINK

public static final NamedPlotColor DARK_PINK

CORAL

public static final NamedPlotColor CORAL

LIGHT_CORAL

public static final NamedPlotColor LIGHT_CORAL

ORANGE_RED

public static final NamedPlotColor ORANGE_RED

SALMON

public static final NamedPlotColor SALMON

LIGHT_SALMON

public static final NamedPlotColor LIGHT_SALMON

DARK_SALMON

public static final NamedPlotColor DARK_SALMON

AQUAMARINE

public static final NamedPlotColor AQUAMARINE

KHAKI

public static final NamedPlotColor KHAKI

DARK_KHAKI

public static final NamedPlotColor DARK_KHAKI

GOLDENROD

public static final NamedPlotColor GOLDENROD

LIGHT_GOLDENROD

public static final NamedPlotColor LIGHT_GOLDENROD

DARK_GOLDENROD

public static final NamedPlotColor DARK_GOLDENROD

GOLD

public static final NamedPlotColor GOLD

BEIGE

public static final NamedPlotColor BEIGE

BROWN

public static final NamedPlotColor BROWN

ORANGE

public static final NamedPlotColor ORANGE

DARK_ORANGE

public static final NamedPlotColor DARK_ORANGE

VIOLET

public static final NamedPlotColor VIOLET

DARK_VIOLET

public static final NamedPlotColor DARK_VIOLET

PLUM

public static final NamedPlotColor PLUM

PURPLE

public static final NamedPlotColor PURPLE
Method Detail

values

public static final NamedPlotColor[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(NamedPlotColor c : NamedPlotColor.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static NamedPlotColor valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getColor

public java.lang.String getColor()
Get the representation of this color

Specified by:
getColor in interface PlotColor
Returns:
The color representation