public static interface Widget.WidgetListener
| Modifier and Type | Method and Description |
|---|---|
void |
computeOptimalSizeStart(Widget widget)
Method called at the beginning of the widget's optimal size computing.
|
void |
computeOptimalSizeStop(Widget widget)
Method called at the end of the widget's optimal size computing.
|
void |
createNewWidget(Widget widget)
Method called when the widget is instantiated.
|
void |
layOutStart(Widget widget)
Method called at the beginning of the widget's layout.
|
void |
layOutStop(Widget widget)
Method called at the end of the widget's layout.
|
void |
onAttached(Widget widget)
Method called when the widget is attached to the Desktop's widget hierarchy.
|
void |
onDetached(Widget widget)
Method called when the widget is detached to the Desktop's widget hierarchy.
|
void |
onHidden(Widget widget)
Method called when the widget is hidden.
|
void |
onShown(Widget widget)
Method called when the widget is shown.
|
void |
renderStart(Widget widget)
Method called at the beginning of the widget's rendering.
|
void |
renderStop(Widget widget)
Method called at the end of the widget's rendering.
|
void |
updateStyleStart(Widget widget)
Method called at the beginning of the widget's style update.
|
void |
updateStyleStop(Widget widget)
Method called at the end of the widget's style update.
|
void computeOptimalSizeStart(Widget widget)
widget - the reference of the widget which optimal size is computed.void computeOptimalSizeStop(Widget widget)
widget - the reference of the widget which optimal size is computed.void createNewWidget(Widget widget)
widget - the reference of the newly instantiated widget.void layOutStart(Widget widget)
widget - the reference of the laid out widget.void layOutStop(Widget widget)
widget - the reference of the laid out widget.void onAttached(Widget widget)
widget - the reference of the attached widget.void onDetached(Widget widget)
widget - the reference of the detached widget.void onHidden(Widget widget)
widget - the reference of the hidden widget.void onShown(Widget widget)
widget - the reference of the shown widget.void renderStart(Widget widget)
widget - the reference of the rendered widget.void renderStop(Widget widget)
widget - the reference of the rendered widget.void updateStyleStart(Widget widget)
widget - the reference of the widget which style is updated.void updateStyleStop(Widget widget)
widget - the reference of the widget which style is updated.