public static enum Position.Type extends java.lang.Enum<Position.Type>
Enum Constant and Description |
---|
absolute
With a value of "absolute" the element can be placed anywhere on a
page.
|
fixed |
relative
Moves an element relative to its normal position, so "left:20" adds
20 pixels to the element's LEFT position
|
static_
The element is placed in a normal position (according to the normal
flow).
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static Position.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Position.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Position.Type static_
public static final Position.Type relative
public static final Position.Type absolute
public static final Position.Type fixed
public static Position.Type[] values()
for (Position.Type c : Position.Type.values()) System.out.println(c);
public static Position.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 nullpublic java.lang.String toString()
toString
in class java.lang.Enum<Position.Type>