Class Hierarchy All Classes All Fields and Methods
Class com.ibm.faces.renderkit.html_extended.ActionbarRenderer
java.lang.Object javax.faces.render.Renderer com.sun.faces.renderkit.html_basic.HtmlBasicRenderer com.ibm.faces.renderkit.html_extended.ActionbarRendererpublic class ActionbarRenderer
extends HtmlBasicRendererRenderer for UIPanel component, such as a toolbar or a navigator that renders all children in a vertical or horizontal order.
Although all components are supported as children, this component is geared towards hyperlinks and separators. Nested Actionbars are supported.
The renderer uses a table to arrange all children.
Tags:
Components: UIPanel
Constructor Index Constructor Description ActionbarRenderer()
Method Index Method Description void encodeBegin(FacesContext, UIComponent) Renders the beginning of the component. void encodeChildren(FacesContext, UIComponent) Renders component's children. void encodeEnd(FacesContext, UIComponent) Renders the ending of the component. void encodeRecursive(FacesContext, UIComponent) Renders nested children of panel by invoking the encode methods on the components. boolean getRendersChildren()
Constructors
ActionbarRenderer
public ActionbarRenderer()
Methods
encodeBegin
public void encodeBegin(FacesContext context, UIComponent component) throws IOExceptionRenders the beginning of the component.
Creates opening table tag. Children will be rendered in table cells later on in encodeChildren.
If this is a nested Actionbar, visibility is set according nestedExpanded attribute.
- Parameters
- context - FacesContext for the request we are processing
- component - UIComponent to be rendered
- Throws
- IOException if an input/output error occurs while rendering
- Overrides
- encodeBegin in class Renderer
- See Also
- encodeBegin
encodeChildren
public void encodeChildren(FacesContext context, UIComponent component) throws IOExceptionRenders component's children.
Renders all child components as table cells either vertically or horizontally, depending on layout attribute.
Creates separators between items if autoseparate was set to true.
- Parameters
- context - FacesContext for the request we are processing
- component - UIComponent to be rendered
- Throws
- IOException if an input/output error occurs while rendering
- Overrides
- encodeChildren in class Renderer
- See Also
- encodeBegin
encodeEnd
public void encodeEnd(FacesContext context, UIComponent component) throws IOExceptionRenders the ending of the component.
Creates the closing table tag.
- Parameters
- context - FacesContext for the request we are processing
- component - UIComponent to be rendered
- Throws
- IOException if an input/output error occurs while rendering
- Overrides
- encodeEnd in class HtmlBasicRenderer
- See Also
- encodeEnd
encodeRecursive
protected void encodeRecursive(FacesContext context, UIComponent component) throws IOExceptionRenders nested children of panel by invoking the encode methods on the components. This handles components nested inside panel_group, panel_grid tags.
getRendersChildren
public boolean getRendersChildren()
Class Hierarchy All Classes All Fields and Methods