|
Eclipse Rich Ajax Platform Release 1.3 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A stateless callback handler used by RWT to synchronize the client-side and server-side state of a widget. Each widget type should provide its own implementation of this interface.
AbstractWidgetLCA
,
WidgetLCAUtil
Method Summary | |
void |
preserveValues(Widget widget)
Preserves the current state of the widget in order to be able to keep track of changes. |
void |
readData(Widget widget)
Reads request parameters and applies the state changes that are indicated by the client to the widget. |
void |
render(Widget widget)
Writes JavaScript code to the response that renders the changes that has been made to the widget. |
Method Detail |
public void preserveValues(Widget widget)
Implementors can use the method
IWidgetAdapter.preserve(String, Object)
. As a rule of thumb, every
property that is written in render
must be preserved in this
method.
widget
- the widget, the properties of which are preservedpublic void readData(Widget widget)
widget
- the widget to be processedpublic void render(Widget widget) throws IOException
widget
- the widget to render changes for
IOException
|
Eclipse Rich Ajax Platform Release 1.3 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) Innoopract Informationssysteme GmbH and others 2002, 2011. All rights reserved.