public enum PlacementMode extends Enum<PlacementMode>
Enum Constant and Description |
---|
ABSOLUTE
A position of the Popup control relative to the upper-left corner of the screen and at an offset that is defined by the HorizontalOffset and VerticalOffset property values.
|
ABSOLUTE_POINT
A position of the Popup control relative to the upper-left corner of the screen and at an offset that is defined by the HorizontalOffset and VerticalOffset property values.
|
BOTTOM
A position of the Popup control where the control aligns its upper edge with the lower edge of the PlacementTarget and aligns its left edge with the left edge of the PlacementTarget.
|
CENTER
A position of the Popup control relative to the upper-left corner of the screen and at an offset that is defined by the HorizontalOffset and VerticalOffset property values.
|
CUSTOM
A position and repositioning behavior for the Popup control that is defined by the CustomPopupPlacementCallback delegate specified by the Popup.
|
LEFT
A Popup control that aligns its right edge with the left edge of the PlacementTarget and aligns its upper edge with the upper edge of the PlacementTarget.
|
MOUSE
A postion of the Popup control that aligns its upper edge with the lower edge of the bounding box of the mouse and aligns its left edge with the left edge of the bounding box of the mouse.
|
MOUSE_POINT
A position of the Popup control relative to the tip of the mouse cursor and at an offset that is defined by the HorizontalOffset and VerticalOffset property values.
|
RELATIVE
A position of the Popup control relative to the upper-left corner of the PlacementTarget and at an offset that is defined by the HorizontalOffset and VerticalOffset property values.
|
RELATIVE_POINT
A position of the Popup control relative to the upper-left corner of the PlacementTarget and at an offset that is defined by the HorizontalOffset and VerticalOffset property values.
|
RIGHT
A position of the Popup control that aligns its left edge with the right edge of the PlacementTarget and aligns its upper edge with the upper edge of the PlacementTarget.
|
TOP
A position of the Popup control that aligns its lower edge with the upper edge of the PlacementTarget and aligns its left edge with the left edge of the PlacementTarget.
|
Modifier and Type | Method and Description |
---|---|
static PlacementMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlacementMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlacementMode ABSOLUTE
public static final PlacementMode RELATIVE
public static final PlacementMode BOTTOM
public static final PlacementMode CENTER
public static final PlacementMode RIGHT
public static final PlacementMode ABSOLUTE_POINT
public static final PlacementMode RELATIVE_POINT
public static final PlacementMode MOUSE
public static final PlacementMode MOUSE_POINT
public static final PlacementMode LEFT
public static final PlacementMode TOP
public static final PlacementMode CUSTOM
public static PlacementMode[] values()
for (PlacementMode c : PlacementMode.values()) System.out.println(c);
public static PlacementMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright 2009-2012 Micro Focus. All Rights Reserved.