public enum AreasType extends Enum<AreasType>
Enum Constant and Description |
---|
LINES
Sets regions as lines
|
PARAGRAPHS
Sets regions as paragraphs
|
WORDS
Sets regions as words
|
Modifier and Type | Method and Description |
---|---|
static AreasType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AreasType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AreasType PARAGRAPHS
public static final AreasType LINES
public static final AreasType WORDS
public static AreasType[] values()
for (AreasType c : AreasType.values()) System.out.println(c);
public static AreasType 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