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.
 

Method Detail

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 changed
oldWidth - the new width of the Widget
oldHeight - the new height of the Widget
newWidth - the new width of the Widget
newHeight - the new height of the Widget