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