Class ScrollbarAdapter

  extended by org.xith3d.ui.hud.listeners.ScrollbarAdapter
All Implemented Interfaces:

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).

Constructor Summary
Method Summary
 void onScrollbarValueChanged(Scrollbar scrollbar, int newValue)
          This event is fired when the value of a Scrollbar has changed.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public ScrollbarAdapter()
Method Detail


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
scrollbar - the Scrollbar, which's value has changed
newValue - the new (current) value of the Scrollbar