public enum TextWrapping extends java.lang.Enum<TextWrapping>
Enum Constant and Description |
---|
Character
Indicates wrapping at the nearest character.
|
None
Indicates that text wrapping is disabled.
|
Word
Indicates wrapping at the nearest word.
|
Modifier and Type | Method and Description |
---|---|
static TextWrapping |
fromInteger(int intVal) |
int |
getValue() |
static TextWrapping |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextWrapping[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextWrapping None
public static final TextWrapping Character
public static final TextWrapping Word
public static TextWrapping[] values()
for (TextWrapping c : TextWrapping.values()) System.out.println(c);
public static TextWrapping 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 nullpublic static TextWrapping fromInteger(int intVal)
public int getValue()