|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ComponentManager
The interface for managing custom components specified via the
CUSTOM tag in the Panel Definition
Markup Language (PDML). A ComponentManager creates
the custom component when requested by the
PanelManager for the containing panel.
The UI framework then passes control to the ComponentManager
to insert/extract data from the component at the appropriate times.
PanelManager| Modifier and Type | Method and Description |
|---|---|
Component |
createComponent(String componentName,
PanelManager pm)
Creates the specified component. |
void |
moveDataFromComponent(String componentName)
Extracts the data from the component and writes it to the DataBean responsible for managing the component's data. |
void |
moveDataToComponent(String componentName)
Retrieves the data for the component from the DataBean
reponsible for managing the component's data and inserts it into the component. |
| Method Detail |
|---|
Component createComponent(String componentName,
PanelManager pm)
PanelManager for the containing panel
is supplied so that this object can access the DataBeans
associated with the panel.
componentName - the name of the component to be created, as specified
in the PDML for the panelpm - the PanelManager that is managing the panelDataBeanvoid moveDataToComponent(String componentName)
DataBean
reponsible for managing the component's data and inserts it into the component.
componentName - the name of the component whose data is to be retrievedDataBeanvoid moveDataFromComponent(String componentName)
DataBean responsible for managing the component's data.
componentName - the name of the component whose data is to be storedDataBean
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||