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.
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 changednewValue - the new (current) value of the Scrollbardirection - the direction in which the scolling happened