public enum ColorCombination extends Enum<ColorCombination>
Enum Constant and Description |
---|
blue |
brown |
green |
grey |
orange |
purple |
red |
yellow |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final ColorCombination red
public static final ColorCombination blue
public static final ColorCombination green
public static final ColorCombination orange
public static final ColorCombination brown
public static final ColorCombination purple
public static final ColorCombination yellow
public static final ColorCombination grey
public static ColorCombination[] values()
for (ColorCombination c : ColorCombination.values()) System.out.println(c);
public static ColorCombination valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Color getFillColor()
public void setFillColor(Color fillColor)
public Color getLineColor()
public void setLineColor(Color lineColor)
Copyright © 2008–2015 JBoss - a division of Red Hat. All rights reserved.