Class UIScrollBar

All Implemented Interfaces:
UIKeyHandler, Hintable, Savable

public class UIScrollBar extends UIPanel
NOTE: Experimental still.
  • Constructor Details

    • UIScrollBar

      public UIScrollBar(Orientation orientation)
  • Method Details

    • addActionListener

      public void addActionListener(ActionListener listener)
      Add the specified listener to this scrollbar's list of listeners notified when it's changed.
      Parameters:
      listener - the listener
    • getOrientation

      public Orientation getOrientation()
    • getSliderLength

      public int getSliderLength()
    • getValue

      public int getValue()
    • setValue

      public void setValue(int offset)
    • setMaxValue

      public void setMaxValue(int maxOffset)
    • getSlider

      public UISlider getSlider()
    • getBtTopLeft

      public UIButton getBtTopLeft()
    • getBtBottomRight

      public UIButton getBtBottomRight()