Enum OverlayPosition

    • 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
    • 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 name
        NullPointerException - if the argument is null