|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<PopupMenuWay> com.alee.laf.menu.PopupMenuWay
public enum PopupMenuWay
This enumeration represents default ways of displaying popup menu.
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is nullpublic int getCornerSide()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |