Modifier and Type | Class and Description |
---|---|
static class |
BoxStyle.Adapter |
Enum Constant and Description |
---|
CHECK |
CIRCLE |
CROSS |
DIAMOND |
SQUARE |
STAR |
Modifier and Type | Method and Description |
---|---|
static BoxStyle |
fromValue(java.lang.String text) |
java.lang.String |
getValue() |
java.lang.String |
toString() |
static BoxStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BoxStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoxStyle CIRCLE
public static final BoxStyle CHECK
public static final BoxStyle CROSS
public static final BoxStyle DIAMOND
public static final BoxStyle SQUARE
public static final BoxStyle STAR
public static BoxStyle[] values()
for (BoxStyle c : BoxStyle.values()) System.out.println(c);
public static BoxStyle valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getValue()
public java.lang.String toString()
toString
in class java.lang.Enum<BoxStyle>
public static BoxStyle fromValue(java.lang.String text)