Interface ScrollableListener
- All Superinterfaces:
EventListener
- All Known Implementing Classes:
GUIScrollBar
Listener for
GUIScrollable elements.-
Method Summary
Modifier and TypeMethodDescriptionvoidsetRange(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 valuevalueMax- the maximum scroll valuesliderPos- the scroll location; it need not within the scroll rangesliderSize- the size of the slider itself
-