public static enum WhiteSpace.Type extends java.lang.Enum<WhiteSpace.Type>
| Enum Constant and Description |
|---|
normal
White-space is ignored by the browser
|
nowrap
The text will never wrap, it continues on the same line until a
tag is encountered |
pre
White-space is preserved by the browser.
|
| Modifier and Type | Method and Description |
|---|---|
static WhiteSpace.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WhiteSpace.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WhiteSpace.Type normal
public static final WhiteSpace.Type pre
public static final WhiteSpace.Type nowrap
public static WhiteSpace.Type[] values()
for (WhiteSpace.Type c : WhiteSpace.Type.values()) System.out.println(c);
public static WhiteSpace.Type 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