Class Hierarchy All Classes All Fields and Methods
Class com.ibm.faces.renderkit.html_extended.BoxRenderer
java.lang.Object javax.faces.render.Renderer com.sun.faces.renderkit.html_basic.HtmlBasicRenderer com.ibm.faces.renderkit.html_extended.BoxRendererpublic class BoxRenderer
extends HtmlBasicRendererRenderer for UIPanel component, that aligns all children either vertically or horizontally.
Tags:
Components: UIPanel
Constructor Index Constructor Description BoxRenderer()
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. boolean getRendersChildren()
Constructors
BoxRenderer
public BoxRenderer()
Methods
encodeBegin
public void encodeBegin(FacesContext context, UIComponent component) throws IOExceptionRenders the beginning of the component.
Creates the opening TABLE tag. Childrwn will be rendered in table cells later on in encodeChildren.
- 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.
- 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
getRendersChildren
public boolean getRendersChildren()
Class Hierarchy All Classes All Fields and Methods