Interface GUIScrollable

    • Method Detail

      • canScroll

        boolean canScroll​(int distance)
        Returns whether scrolling is possible.
        Parameters:
        distance - the distance to scroll
        Returns:
        whether scrolling is possible
      • scroll

        void scroll​(int distance)
        Scrolls the element.
        Parameters:
        distance - the distance to scroll
      • resetScroll

        void resetScroll()
        Resets the scroll index to the default value.