public interface GUIScrollable
GUIElements
that
support scrolling.Modifier and Type | Method and Description |
---|---|
boolean |
canScroll(int distance)
Returns whether scrolling is possible.
|
void |
resetScroll()
Resets the scroll index to the default value.
|
void |
scroll(int distance)
Scrolls the element.
|
boolean canScroll(int distance)
distance
- the distance to scrollvoid scroll(int distance)
distance
- the distance to scrollvoid resetScroll()