|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<PopOverDirection> com.alee.extended.window.PopOverDirection
public enum PopOverDirection
This enumeration represents possible WebPopOver dialog display ways relative to invoker component. Be aware that left/right direction is affected by WebPopOver component orientation.
WebPopOver
Enum Constant Summary | |
---|---|
down
Display pop-over below invoker component. |
|
left
Display pop-over leading to the invoker component. |
|
right
Display pop-over trailing to the invoker component. |
|
up
Display pop-over above invoker component. |
Method Summary | |
---|---|
int |
getCornerSide(boolean ltr)
Returns WebPopOver corner side. |
PopOverDirection[] |
getPriority()
Returns directions check priority according to preferred direction. |
static PopOverDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PopOverDirection[] |
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 PopOverDirection up
public static final PopOverDirection down
public static final PopOverDirection left
public static final PopOverDirection right
Method Detail |
---|
public static PopOverDirection[] values()
for (PopOverDirection c : PopOverDirection.values()) System.out.println(c);
public static PopOverDirection 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 PopOverDirection[] getPriority()
public int getCornerSide(boolean ltr)
ltr
- whether pop-over has LTR orientation or not
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |