public enum MarginType extends Enum<MarginType>
| Enum Constant and Description |
|---|
BOTTOM
The margin for the bottom side.
|
LEFT
The margin for the left side.
|
RIGHT
The margin for the right side.
|
TOP
The margin for the top side.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static MarginType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MarginType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MarginType TOP
public static final MarginType RIGHT
public static final MarginType BOTTOM
public static final MarginType LEFT
public static MarginType[] values()
for (MarginType c : MarginType.values()) System.out.println(c);
public static MarginType 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 nullpublic int getValue()