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.ActionbarRenderer

public class ActionbarRenderer
extends HtmlBasicRenderer

Renderer 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 IOException

Renders 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.

 

encodeChildren

public void encodeChildren(FacesContext context,
                           UIComponent component) throws IOException

Renders 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.

 

encodeEnd

public void encodeEnd(FacesContext context,
                      UIComponent component) throws IOException

Renders the ending of the component.

Creates the closing table tag.

 

encodeRecursive

protected void encodeRecursive(FacesContext context,
                               UIComponent component) throws IOException

Renders 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