org.xith3d.ui.hud.listeners
Class ScrollbarAdapter
java.lang.Object
org.xith3d.ui.hud.listeners.ScrollbarAdapter
- All Implemented Interfaces:
- ScrollbarListener
public abstract class ScrollbarAdapter
- extends java.lang.Object
- implements ScrollbarListener
If a Widget makes use of other Widgets to be built and these Widgets produce
events, that are to be catched be the Widget only, then you should create an
inner class and let it extend this class to catch them, since it already
implements all known Widget-Listeners (with empty method stubs).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScrollbarAdapter
public ScrollbarAdapter()
onScrollbarValueChanged
public void onScrollbarValueChanged(Scrollbar scrollbar,
int newValue)
- This event is fired when the value of a Scrollbar has changed.
- Specified by:
onScrollbarValueChanged in interface ScrollbarListener
- Parameters:
scrollbar - the Scrollbar, which's value has changednewValue - the new (current) value of the Scrollbar