public enum TextWrapping extends Enum<TextWrapping>
Enum Constant and Description |
---|
NO_WRAP
No line wrapping is performed.
|
WRAP
Line-breaking occurs if the line overflows beyond the available block width,
even if the standard line breaking algorithm cannot determine any line break
opportunity, as in the case of a very long word constrained in a fixed-width
container with no scrolling allowed.
|
WRAP_WITH_OVERFLOW
Line-breaking occurs if the line overflows beyond the available block width.
|
Modifier and Type | Method and Description |
---|---|
static TextWrapping |
valueOf(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 WRAP_WITH_OVERFLOW
public static final TextWrapping NO_WRAP
public static final TextWrapping WRAP
public static TextWrapping[] values()
for (TextWrapping c : TextWrapping.values()) System.out.println(c);
public static TextWrapping 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 2009-2012 Micro Focus. All Rights Reserved.