public enum WidgetLocationRef extends java.lang.Enum<WidgetLocationRef>
| Enum Constant and Description |
|---|
RELATIVE_TO_CURSOR
The widget is relative the the current mouse pointer location.
|
RELATIVE_TO_DISPLAY
The origin is the origin of the physical display.
|
RELATIVE_TO_OWNER
The widget is relative to the parent window.
|
RELATIVE_TO_WINDOW
The origin is the origin of a window.
|
| Modifier and Type | Method and Description |
|---|---|
static WidgetLocationRef |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WidgetLocationRef[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WidgetLocationRef RELATIVE_TO_OWNER
public static final WidgetLocationRef RELATIVE_TO_CURSOR
public static final WidgetLocationRef RELATIVE_TO_WINDOW
public static final WidgetLocationRef RELATIVE_TO_DISPLAY
public static WidgetLocationRef[] values()
for (WidgetLocationRef c : WidgetLocationRef.values()) System.out.println(c);
public static WidgetLocationRef 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