Package net.runelite.client.ui.overlay
Enum OverlayPosition
- java.lang.Object
-
- java.lang.Enum<OverlayPosition>
-
- net.runelite.client.ui.overlay.OverlayPosition
-
- All Implemented Interfaces:
Serializable
,Comparable<OverlayPosition>
public enum OverlayPosition extends Enum<OverlayPosition>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABOVE_CHATBOX_RIGHT
Place overlay directly above right side of chatboxBOTTOM_LEFT
Place overlay in the bottom left viewport areaBOTTOM_RIGHT
Place overlay in the bottom right viewport areaCANVAS_TOP_RIGHT
Place overlay in the top right most area possibleDETACHED
Deprecated.DYNAMIC
Overlay places itself where it wantsTOOLTIP
Tooltip overlayTOP_CENTER
Place overlay in the top center viewport areaTOP_LEFT
Place overlay in the top left viewport areaTOP_RIGHT
Place overlay in the top right viewport area
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OverlayPosition
valueOf(String name)
Returns the enum constant of this type with the specified name.static OverlayPosition[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DETACHED
@Deprecated public static final OverlayPosition DETACHED
Deprecated.Not attached anywhere, but still movable Deprecated. Use DYNAMIC and setMovable(true)
-
DYNAMIC
public static final OverlayPosition DYNAMIC
Overlay places itself where it wants
-
TOP_LEFT
public static final OverlayPosition TOP_LEFT
Place overlay in the top left viewport area
-
TOP_CENTER
public static final OverlayPosition TOP_CENTER
Place overlay in the top center viewport area
-
TOP_RIGHT
public static final OverlayPosition TOP_RIGHT
Place overlay in the top right viewport area
-
BOTTOM_LEFT
public static final OverlayPosition BOTTOM_LEFT
Place overlay in the bottom left viewport area
-
BOTTOM_RIGHT
public static final OverlayPosition BOTTOM_RIGHT
Place overlay in the bottom right viewport area
-
ABOVE_CHATBOX_RIGHT
public static final OverlayPosition ABOVE_CHATBOX_RIGHT
Place overlay directly above right side of chatbox
-
CANVAS_TOP_RIGHT
public static final OverlayPosition CANVAS_TOP_RIGHT
Place overlay in the top right most area possible
-
TOOLTIP
public static final OverlayPosition TOOLTIP
Tooltip overlay
-
-
Method Detail
-
values
public static OverlayPosition[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OverlayPosition c : OverlayPosition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OverlayPosition valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-