|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ComponentUpdater
Used to set data from the HTML page to the corresponding UI component. WebCream uses ComponentUpdaters when it receives data from submitted HTML page. It iterates all components of the current window and find ComponentUpdater for each of the components. If no ComponentUpdater is specified in the properties file for the given component class, the DefaultJComponentUpdater is used.
| Method Summary | |
|---|---|
void |
postUpdateComponent(java.awt.Component comp,
HttpRequestData data,
ActionData actionData)
Called by WebCream after the component and it's subtree of children has been updated |
boolean |
updateComponent(java.awt.Component comp,
HttpRequestData data,
ActionData actionData)
Called by WebCream engine to set the data submitted by the browser to the component |
| Method Detail |
|---|
boolean updateComponent(java.awt.Component comp,
HttpRequestData data,
ActionData actionData)
throws java.lang.Exception
comp - component that should be updateddata - data submitted by the browser. The data for each component depends on how it was represeted in HTML
by ComponentRendereractionData - data structure that controls how the action will be emulated
java.lang.Exception
void postUpdateComponent(java.awt.Component comp,
HttpRequestData data,
ActionData actionData)
comp - data - actionData -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||