public interface ScrollableListener
Listener for GUIScrollable
elements.
Method Summary | |
---|---|
void |
setRange(int valueMin,
int valueMax,
int sliderPos,
int sliderSize)
Sets the scroll range. |
Method Detail |
---|
void setRange(int valueMin, int valueMax, int sliderPos, int sliderSize)
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.