public enum FormattingMode extends java.lang.Enum<FormattingMode>
| Enum Constant and Description |
|---|
ADJUST_INDENT
Line indent adjustment.
|
ADJUST_INDENT_ON_ENTER
Indent adjustment on a new line after Enter.
|
REFORMAT
Normal reformat (modifies indents and inline whitespaces).
|
| Modifier and Type | Method and Description |
|---|---|
static FormattingMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FormattingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FormattingMode REFORMAT
public static final FormattingMode ADJUST_INDENT
public static final FormattingMode ADJUST_INDENT_ON_ENTER
public static FormattingMode[] values()
for (FormattingMode c : FormattingMode.values()) System.out.println(c);
public static FormattingMode 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