org.jboss.apiviz
Enum ColorCombination
java.lang.Object
java.lang.Enum<ColorCombination>
org.jboss.apiviz.ColorCombination
- All Implemented Interfaces:
- Serializable, Comparable<ColorCombination>
public enum ColorCombination
- extends Enum<ColorCombination>
- Author:
- bsneade
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
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)
Copyright © 2008-2012 JBoss - a division of Red Hat. All Rights Reserved.