public enum DrawPosition extends java.lang.Enum<DrawPosition> implements ValueEnum
Enum Constant and Description |
---|
AFTERBEGIN
insert as the target element's first child
|
AFTEREND
insert after the target element
|
BEFOREBEGIN
insert before the target element
|
BEFOREEND
insert as the target element's last child
|
REPLACE
replace the target element
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static DrawPosition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DrawPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DrawPosition BEFOREBEGIN
public static final DrawPosition AFTERBEGIN
public static final DrawPosition BEFOREEND
public static final DrawPosition AFTEREND
public static final DrawPosition REPLACE
public static DrawPosition[] values()
for (DrawPosition c : DrawPosition.values()) System.out.println(c);
public static DrawPosition 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