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