public enum PopupMenuWay extends java.lang.Enum<PopupMenuWay>
| Enum Constant and Description |
|---|
aboveEnd
Displays popup menu above the invoker component starting at its trailing side.
|
aboveMiddle
Displays popup menu above the invoker component at its middle.
|
aboveStart
Displays popup menu above the invoker component starting at its leading side.
|
belowEnd
Displays popup menu under the invoker component starting at its trailing side.
|
belowMiddle
Displays popup menu under the invoker component at its middle.
|
belowStart
Displays popup menu under the invoker component starting at its leading side.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCornerSide()
Returns corner side for this popup menu display location.
|
static PopupMenuWay |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PopupMenuWay[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PopupMenuWay aboveStart
public static final PopupMenuWay aboveMiddle
public static final PopupMenuWay aboveEnd
public static final PopupMenuWay belowStart
public static final PopupMenuWay belowMiddle
public static final PopupMenuWay belowEnd
public static PopupMenuWay[] values()
for (PopupMenuWay c : PopupMenuWay.values()) System.out.println(c);
public static PopupMenuWay 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 nullpublic int getCornerSide()