public interface GUIScrollable2
A GUIScrollable that can be attached to GUIScrollBars.
| Method Summary | |
|---|---|
void |
addScrollableListener(ScrollableListener listener)
Add a scrollable listener to be informed about changes. |
void |
removeScrollableListener(ScrollableListener listener)
Remove a scrollable listener. |
void |
scrollTo(int pos)
Scroll to the given location. |
| Methods inherited from interface com.realtime.crossfire.jxclient.gui.scrollable.GUIScrollable |
|---|
canScroll, resetScroll, scroll |
| Method Detail |
|---|
void addScrollableListener(@NotNull
ScrollableListener listener)
listener - The listener to add.
void removeScrollableListener(@NotNull
ScrollableListener listener)
listener - The listener to remove.void scrollTo(int pos)
addScrollableListener(ScrollableListener).
pos - The location to scroll to.