private static enum Canvas.PopupPosition extends java.lang.Enum<Canvas.PopupPosition>
| Enum Constant and Description |
|---|
CENTERED |
CENTERED_LEFT |
CENTERED_RIGHT |
ORIGIN |
| Modifier and Type | Method and Description |
|---|---|
static Canvas.PopupPosition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Canvas.PopupPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Canvas.PopupPosition ORIGIN
public static final Canvas.PopupPosition CENTERED
public static final Canvas.PopupPosition CENTERED_LEFT
public static final Canvas.PopupPosition CENTERED_RIGHT
public static Canvas.PopupPosition[] values()
for (Canvas.PopupPosition c : Canvas.PopupPosition.values()) System.out.println(c);
public static Canvas.PopupPosition 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