public static enum AbstractAreaPainter.Style extends Enum<AbstractAreaPainter.Style>
| Enum Constant and Description |
|---|
BOTH |
FILLED |
NONE
NONE has different semantics that setVisible(false). |
OUTLINE |
| Modifier and Type | Method and Description |
|---|---|
static AbstractAreaPainter.Style |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractAreaPainter.Style[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractAreaPainter.Style BOTH
public static final AbstractAreaPainter.Style FILLED
public static final AbstractAreaPainter.Style OUTLINE
public static final AbstractAreaPainter.Style NONE
NONE has different semantics that setVisible(false). With setVisible(false), nothing is painted. With style
NONE, any effects are still painted.public static AbstractAreaPainter.Style[] values()
for (AbstractAreaPainter.Style c : AbstractAreaPainter.Style.values()) System.out.println(c);
public static AbstractAreaPainter.Style 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 nullCopyright © 2017. All Rights Reserved.