Package ej.mwt
Interface Widget.WidgetListener
-
- Enclosing class:
- Widget
public static interface Widget.WidgetListenerListener for widget events.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcomputeOptimalSizeStart(Widget widget)Method called at the beginning of the widget's optimal size computing.voidcomputeOptimalSizeStop(Widget widget)Method called at the end of the widget's optimal size computing.voidcreateNewWidget(Widget widget)Method called when the widget is instantiated.voidlayOutStart(Widget widget)Method called at the beginning of the widget's layout.voidlayOutStop(Widget widget)Method called at the end of the widget's layout.voidonAttached(Widget widget)Method called when the widget is attached to the Desktop's widget hierarchy.voidonDetached(Widget widget)Method called when the widget is detached to the Desktop's widget hierarchy.voidonHidden(Widget widget)Method called when the widget is hidden.voidonShown(Widget widget)Method called when the widget is shown.voidrenderStart(Widget widget)Method called at the beginning of the widget's rendering.voidrenderStop(Widget widget)Method called at the end of the widget's rendering.voidupdateStyleStart(Widget widget)Method called at the beginning of the widget's style update.voidupdateStyleStop(Widget widget)Method called at the end of the widget's style update.
-
-
-
Method Detail
-
createNewWidget
void createNewWidget(Widget widget)
Method called when the widget is instantiated.- Parameters:
widget- the reference of the newly instantiated widget.
-
onAttached
void onAttached(Widget widget)
Method called when the widget is attached to the Desktop's widget hierarchy.- Parameters:
widget- the reference of the attached widget.
-
onDetached
void onDetached(Widget widget)
Method called when the widget is detached to the Desktop's widget hierarchy.- Parameters:
widget- the reference of the detached widget.
-
onShown
void onShown(Widget widget)
Method called when the widget is shown.- Parameters:
widget- the reference of the shown widget.
-
onHidden
void onHidden(Widget widget)
Method called when the widget is hidden.- Parameters:
widget- the reference of the hidden widget.
-
updateStyleStart
void updateStyleStart(Widget widget)
Method called at the beginning of the widget's style update.- Parameters:
widget- the reference of the widget which style is updated.
-
updateStyleStop
void updateStyleStop(Widget widget)
Method called at the end of the widget's style update.- Parameters:
widget- the reference of the widget which style is updated.
-
computeOptimalSizeStart
void computeOptimalSizeStart(Widget widget)
Method called at the beginning of the widget's optimal size computing.- Parameters:
widget- the reference of the widget which optimal size is computed.
-
computeOptimalSizeStop
void computeOptimalSizeStop(Widget widget)
Method called at the end of the widget's optimal size computing.- Parameters:
widget- the reference of the widget which optimal size is computed.
-
layOutStart
void layOutStart(Widget widget)
Method called at the beginning of the widget's layout.- Parameters:
widget- the reference of the laid out widget.
-
layOutStop
void layOutStop(Widget widget)
Method called at the end of the widget's layout.- Parameters:
widget- the reference of the laid out widget.
-
renderStart
void renderStart(Widget widget)
Method called at the beginning of the widget's rendering.- Parameters:
widget- the reference of the rendered widget.
-
renderStop
void renderStop(Widget widget)
Method called at the end of the widget's rendering.- Parameters:
widget- the reference of the rendered widget.
-
-