org.xith3d.ui.hud.listeners
Interface WidgetFocusListener

All Known Implementing Classes:
WidgetEventsReceiverAdapter, WidgetFocusAdapter

public interface WidgetFocusListener

A WidgetFocusListener is notified when a Widget lost ot got the focus.


Method Summary
 void onFocusGained(Widget widget)
          This event is fired, when the focus is gained to a Widget.
 void onFocusLost(Widget widget)
          This event is fired, when the focus is lost by a Widget.
 

Method Detail

onFocusGained

void onFocusGained(Widget widget)
This event is fired, when the focus is gained to a Widget.

Parameters:
widget - the Widget, which was gained the focus

onFocusLost

void onFocusLost(Widget widget)
This event is fired, when the focus is lost by a Widget.

Parameters:
widget - the Widget, which has lost the focus