public enum LineWidth extends Enum<LineWidth>
Modifier and Type | Method and Description |
---|---|
static LineWidth |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LineWidth[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineWidth THIN
public static final LineWidth MEDIUM
public static final LineWidth THICK
public static LineWidth[] values()
for (LineWidth c : LineWidth.values()) System.out.println(c);
public static LineWidth 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 null