Interface ScrollableListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
GUIScrollBar

public interface ScrollableListener extends EventListener
Listener for GUIScrollable elements.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    setRange(int valueMin, int valueMax, int sliderPos, int sliderSize)
    Sets the scroll range.
  • Method Details

    • setRange

      void setRange(int valueMin, int valueMax, int sliderPos, int sliderSize)
      Sets the scroll range.
      Parameters:
      valueMin - the minimum scroll value
      valueMax - the maximum scroll value
      sliderPos - the scroll location; it need not within the scroll range
      sliderSize - the size of the slider itself