|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IWidgetInitializer
This interface is to be able to add custom destroyers and initializers to widgets. If you want to eg customize the a native combo box, you should register the specific widgetinitializer in the widgetconfig or the guidefaults.xml file.
Method Summary | |
---|---|
boolean |
addToParent(IWidget widget)
Adds the native peer to the native parent |
void |
destroy(IWidget widget)
Destroy will be called before the widget starts destroying itself. |
java.lang.Object |
getNativeWidget()
|
void |
initialize(IWidget widget)
Initialize will be called after the widget is finished it internal processed and after creation of the native widget. |
void |
setNativeWidget(java.lang.Object object)
Set the native widget. |
Method Detail |
---|
void initialize(IWidget widget)
widget
- the widget to proces initialization onvoid destroy(IWidget widget)
widget
- the widget to clean up afterjava.lang.Object getNativeWidget()
boolean addToParent(IWidget widget)
widget
- - the child widget
void setNativeWidget(java.lang.Object object)
object
- the native widget
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |