| com.sun.rave.web.ui.component.TemplateComponentBase
All known Subclasses: com.sun.rave.web.ui.component.TreeNodeBase,
Method Summary | |
public UIComponent | getChild(FacesContext context, String id) This method will find the request child UIComponent by id. | public UIComponent | getChild(FacesContext context, LayoutComponent descriptor) This method will find the request child UIComponent by id (the id is
obtained from the given LayoutComponent). | public LayoutDefinition | getLayoutDefinition(FacesContext context) This method returns the LayoutDefinition associated with this component. | public String | getLayoutDefinitionKey() This method returns the LayoutDefinitionKey for this component. | public void | restoreState(FacesContext context, Object state) This method restores the state for this component. | public Object | saveState(FacesContext context) This method saves the state for this component. | public void | setLayoutDefinitionKey(String key) This method sets the LayoutDefinition key for this component. |
getChild | public UIComponent getChild(FacesContext context, String id)(Code) | | This method will find the request child UIComponent by id. If it is
not found, it will attempt to create it if it can find a LayoutElement
describing it.
Parameters: context - The FacesContext Parameters: id - The UIComponent id to search for The requested UIComponent |
getChild | public UIComponent getChild(FacesContext context, LayoutComponent descriptor)(Code) | | This method will find the request child UIComponent by id (the id is
obtained from the given LayoutComponent). If it is not found, it will
attempt to create it from the supplied LayoutElement.
Parameters: descriptor - The LayoutElement describing the UIComponent The requested UIComponent |
getLayoutDefinition | public LayoutDefinition getLayoutDefinition(FacesContext context)(Code) | | This method returns the LayoutDefinition associated with this component.
Parameters: context - The FacesContext LayoutDefinition associated with this component. |
getLayoutDefinitionKey | public String getLayoutDefinitionKey()(Code) | | This method returns the LayoutDefinitionKey for this component.
key The key to use in the LayoutDefinitionManager |
restoreState | public void restoreState(FacesContext context, Object state)(Code) | | This method restores the state for this component. It will invoke the
super class to restore its state.
Parameters: context - The FacesContext Parameters: state - The serialized State |
saveState | public Object saveState(FacesContext context)(Code) | | This method saves the state for this component. It relies on the
super class to save its own sate, this method will invoke
super.saveState().
Parameters: context - The FacesContext The serialized State |
setLayoutDefinitionKey | public void setLayoutDefinitionKey(String key)(Code) | | This method sets the LayoutDefinition key for this component.
Parameters: key - The key to use in the LayoutDefinitionManager |
|
|