org.xith3d.ui.hud.listeners
Interface ScrollbarListener

All Known Subinterfaces:
MenuGroupWidget, WidgetContainer
All Known Implementing Classes:
ButtonsLeftMenusCenterMenuGroupWidget, FPIHInputBindingsSettingsMenu, FPIHMainSettingsMenu, GraphicsMainSettingsMenu, HUD, InputBindingsSettingsMenu, MenuBase, Panel, ScrollbarAdapter, WidgetContainerBase, WidgetEventsReceiverAdapter

public interface ScrollbarListener

This interface works as a notifyer for Scrollbar value changes.


Method Summary
 void onScrollbarValueChanged(Scrollbar scrollbar, int newValue, Scrollbar.Direction direction)
          This event is fired when the value of a Scrollbar has changed.
 

Method Detail

onScrollbarValueChanged

void onScrollbarValueChanged(Scrollbar scrollbar,
                             int newValue,
                             Scrollbar.Direction direction)
This event is fired when the value of a Scrollbar has changed.

Parameters:
scrollbar - the Scrollbar, which's value has changed
newValue - the new (current) value of the Scrollbar
direction - the direction in which the scolling happened