public static enum Box.Type extends Enum<Box.Type>
| Enum Constant and Description |
|---|
ELEMENT
Boxes produced by a DOM element
|
REPLACED_CONTENT
Replaced boxes (images, objects, etc.)
|
TEXT_CONTENT
Text boxes (produced by DOM text node
|
| Modifier and Type | Method and Description |
|---|---|
static Box.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Box.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Box.Type ELEMENT
public static final Box.Type TEXT_CONTENT
public static final Box.Type REPLACED_CONTENT
public static Box.Type[] values()
for (Box.Type c : Box.Type.values()) System.out.println(c);
public static Box.Type 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 © 2016. All rights reserved.