public enum Margin extends Enum<Margin>
Modifier and Type | Field and Description |
---|---|
static String |
BOTH |
static String |
LEFT |
static String |
NONE |
static String |
RIGHT |
Modifier and Type | Method and Description |
---|---|
static Margin |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Margin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Margin none
public static final Margin left
public static final Margin right
public static final Margin both
public static final String NONE
public static final String LEFT
public static final String RIGHT
public static final String BOTH
public static Margin[] values()
for (Margin c : Margin.values()) System.out.println(c);
public static Margin 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 © 2002–2020 The Apache Software Foundation. All rights reserved.