public static enum FormatPreferences.WrappingMode extends Enum<FormatPreferences.WrappingMode>
Enum Constant and Description |
---|
ALWAYS_WRAP |
NEVER |
WRAP_ONLY_IF_LONG |
Modifier and Type | Method and Description |
---|---|
static FormatPreferences.WrappingMode |
valueOf(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(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 nullCopyright © 2019 JBoss by Red Hat. All rights reserved.