Enum Constant and Description |
---|
CODE_MATRIX
Show numerical codes only.
|
DUAL
Show both numerical codes and textual preview.
|
TEXT_PREVIEW
Show textual preview only.
|
Modifier and Type | Method and Description |
---|---|
static ViewMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ViewMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ViewMode DUAL
public static final ViewMode CODE_MATRIX
public static final ViewMode TEXT_PREVIEW
public static ViewMode[] values()
for (ViewMode c : ViewMode.values()) System.out.println(c);
public static ViewMode 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 null