public static enum Clear.Type extends java.lang.Enum<Clear.Type>
Enum Constant and Description |
---|
both
No floating elements allowed on either the left or the right side
|
initial
Sets this property to its default value
|
left
No floating elements allowed on the left side
|
none
Allows floating elements on both sides
|
right
No floating elements allowed on the right side
|
Modifier and Type | Method and Description |
---|---|
static Clear.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Clear.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Clear.Type left
public static final Clear.Type right
public static final Clear.Type both
public static final Clear.Type none
public static final Clear.Type initial
public static Clear.Type[] values()
for (Clear.Type c : Clear.Type.values()) System.out.println(c);
public static Clear.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