public interface ScrollableListener
extends java.util.EventListener
GUIScrollable
elements.Modifier and Type | Method and Description |
---|---|
void |
setRange(int valueMin,
int valueMax,
int sliderPos,
int sliderSize)
Sets the scroll range.
|
void setRange(int valueMin, int valueMax, int sliderPos, int sliderSize)
valueMin
- the minimum scroll valuevalueMax
- the maximum scroll valuesliderPos
- the scroll location; it need not within the scroll
rangesliderSize
- the size of the slider itself