Class InfoBoxOverlay

    • Method Detail

      • getName

        public String getName()
        Description copied from class: Overlay
        Overlay name, used for saving the overlay, needs to be unique
        Overrides:
        getName in class Overlay
        Returns:
        overlay name
      • onMenuOptionClicked

        @Subscribe
        public void onMenuOptionClicked​(net.runelite.api.events.MenuOptionClicked menuOptionClicked)
      • onDrag

        public boolean onDrag​(Overlay source)
        Description copied from class: Overlay
        Called when an overlay is dragged onto this, if dragTargetable is true. Return true to consume the mouse event and prevent the other overlay from being moved
        Overrides:
        onDrag in class Overlay
        Parameters:
        source - the overlay being dragged
        Returns: