|
Eclipse Remote Application Platform | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WidgetAdapter
Instances of this interface provide RWT specific operations on widgets. They are used to preserve the state of a widget.
| Method Summary | |
|---|---|
java.lang.String |
getId()
Returns the id that identifies the widget on the client. |
Widget |
getParent()
Returns the parent given to the widget constructor. |
java.lang.Object |
getPreserved(java.lang.String propertyName)
Returns the preserved value for a specified key. |
boolean |
isInitialized()
Indicates whether this widget has been initialized already. |
void |
markDisposed(Widget widget)
Notifies the receiver that the given widget has been disposed of. |
void |
preserve(java.lang.String propertyName,
java.lang.Object value)
Preserves a specified value for a specified key. |
| Method Detail |
|---|
java.lang.String getId()
getId in interface IWidgetAdapterWidget getParent()
getParent in interface IWidgetAdapterboolean isInitialized()
isInitialized in interface IWidgetAdaptertrue if this widget has already been initialized, false
otherwise
void preserve(java.lang.String propertyName,
java.lang.Object value)
preserveValues.
preserve in interface IWidgetAdapterpropertyName - the key to map the preserved value tovalue - the value to preservejava.lang.Object getPreserved(java.lang.String propertyName)
getPreserved in interface IWidgetAdapterpropertyName - the key for the preserved value
null if there is no value preserved for this keyvoid markDisposed(Widget widget)
widget has been disposed of.
markDisposed in interface IWidgetAdapterwidget - the widget that has been disposed of
|
Eclipse Remote Application Platform | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright (c) EclipseSource and others 2002, 2012. All rights reserved.