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