All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.ibm.as400.ui.framework.java.ComponentManager

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.

See Also:
PanelManager

Method Index

 o createComponent(String, PanelManager)
Creates the specified component.
 o moveDataFromComponent(String)
Extracts the data from the component and writes it to the DataBean responsible for managing the component's data.
 o moveDataToComponent(String)
Retrieves the data for the component from the DataBean reponsible for managing the component's data and inserts it into the component.

Methods

 o createComponent
 public abstract Component createComponent(String componentName,
                                           PanelManager pm)
Creates the specified component. A reference to the PanelManager for the containing panel is supplied so that this object can access the DataBeans associated with the panel.

Parameters:
componentName - the name of the component to be created, as specified in the PDML for the panel
pm - the PanelManager that is managing the panel
See Also:
DataBean
 o moveDataToComponent
 public abstract 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.

Parameters:
componentName - the name of the component whose data is to be retrieved
See Also:
DataBean
 o moveDataFromComponent
 public abstract void moveDataFromComponent(String componentName)
Extracts the data from the component and writes it to the DataBean responsible for managing the component's data.

Parameters:
componentName - the name of the component whose data is to be stored
See Also:
DataBean

All Packages  Class Hierarchy  This Package  Previous  Next  Index