|
Eclipse Rich Ajax Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IWidgetAdapter
Instances of this interface provide RWT specific operations on widgets. They are used to preserve the state of a widget.
This interface is not intended to be implemented by clients.
Method Summary | |
---|---|
java.lang.String |
getId()
Returns the id that identifies the widget on the client. |
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 beend
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()
boolean isInitialized()
true
if this widget has already been initialized,
false
otherwisevoid preserve(java.lang.String propertyName, java.lang.Object value)
preserveValues
.
propertyName
- the key to map the preserved value tovalue
- the value to preservejava.lang.Object getPreserved(java.lang.String propertyName)
propertyName
- the key for the preserved value
null
if there is no value
preserved for this keyvoid markDisposed(Widget widget)
widget
has beend
disposed of.
widget
- the widget that has been disposed of
|
Eclipse Rich Ajax 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.