Class ScrollFrame

All Implemented Interfaces:
InputBlocker<ScrollFrame>

public class ScrollFrame extends AbstractInputBlocker<ScrollFrame> implements InputBlocker<ScrollFrame>
  • Constructor Details

  • Method Details

    • init

      protected void init(GuiRender render)
      Overrides:
      init in class GuiNode<ScrollFrame>
    • onRelayout

      protected void onRelayout()
      Overrides:
      onRelayout in class GuiNode<ScrollFrame>
    • getRealPositionY

      public int getRealPositionY()
      Overrides:
      getRealPositionY in class ParentNode<ScrollFrame>
    • onMouseScrollEvent

      protected void onMouseScrollEvent(MouseScrollEvent event)
      Overrides:
      onMouseScrollEvent in class GuiNode<ScrollFrame>
    • render

      protected void render(GuiRender render, double delta)
      Specified by:
      render in class GuiNode<ScrollFrame>
    • setScrollBarColor

      public ScrollFrame setScrollBarColor(RGBA scrollBarColor)
    • setScrollBarVisible

      public ScrollFrame setScrollBarVisible(boolean scrollBarVisible)
    • setScrollBarWidth

      public ScrollFrame setScrollBarWidth(int scrollBarWidth)
    • setCanScroll

      public ScrollFrame setCanScroll(boolean canScroll)
    • setScrollScale

      public ScrollFrame setScrollScale(double scrollScale)
    • setScrollProgress

      public ScrollFrame setScrollProgress(double scrollProgress)
    • setScrollSpeed

      public ScrollFrame setScrollSpeed(int scrollSpeed)
    • getScrollBarColor

      public RGBA getScrollBarColor()
    • isScrollBarVisible

      public boolean isScrollBarVisible()
    • getScrollBarWidth

      public int getScrollBarWidth()
    • isCanScroll

      public boolean isCanScroll()
    • getScrollScale

      public double getScrollScale()
    • getScrollProgress

      public double getScrollProgress()
    • getScrollSpeed

      public double getScrollSpeed()