org.xith3d.ui.hud.listeners
Interface WidgetSizeListener
- All Known Implementing Classes:
- WidgetEventsReceiverAdapter, WidgetSizeAdapter
public interface WidgetSizeListener
A WidgetSizeListener is notified of any Widget size change of the
assotiated Widget.
|
Method Summary |
void |
onWidgetSizeChanged(Widget widget,
float oldWidth,
float oldHeight,
float newWidth,
float newHeight)
This event is fired when a Widget's size has changed. |
onWidgetSizeChanged
void onWidgetSizeChanged(Widget widget,
float oldWidth,
float oldHeight,
float newWidth,
float newHeight)
- This event is fired when a Widget's size has changed.
- Parameters:
widget - the Widget, which's size has changedoldWidth - the new width of the WidgetoldHeight - the new height of the WidgetnewWidth - the new width of the WidgetnewHeight - the new height of the Widget