public static enum Donut.Legend extends Enum<Donut.Legend>
| Modifier and Type | Method and Description |
|---|---|
static Donut.Legend |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Donut.Legend[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Donut.Legend NONE
public static final Donut.Legend RIGHT
public static final Donut.Legend BOTTOM
public static Donut.Legend[] values()
for (Donut.Legend c : Donut.Legend.values()) System.out.println(c);
public static Donut.Legend 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 © 2018 JBoss, a division of Red Hat. All rights reserved.