org.jboss.apiviz
Enum ColorCombination

java.lang.Object
  extended by java.lang.Enum<ColorCombination>
      extended by org.jboss.apiviz.ColorCombination
All Implemented Interfaces:
Serializable, Comparable<ColorCombination>

public enum ColorCombination
extends Enum<ColorCombination>


Enum Constant Summary
blue
           
brown
           
green
           
grey
           
orange
           
purple
           
red
           
yellow
           
 
Method Summary
 Color getFillColor()
           
 Color getLineColor()
           
 void setFillColor(Color fillColor)
           
 void setLineColor(Color lineColor)
           
static ColorCombination valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ColorCombination[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

red

public static final ColorCombination red

blue

public static final ColorCombination blue

green

public static final ColorCombination green

orange

public static final ColorCombination orange

brown

public static final ColorCombination brown

purple

public static final ColorCombination purple

yellow

public static final ColorCombination yellow

grey

public static final ColorCombination grey
Method Detail

values

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

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

valueOf

public static ColorCombination valueOf(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:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getFillColor

public Color getFillColor()

setFillColor

public void setFillColor(Color fillColor)

getLineColor

public Color getLineColor()

setLineColor

public void setLineColor(Color lineColor)