| com.sun.rave.web.ui.renderer.AbstractRenderer com.sun.rave.web.ui.renderer.BreadcrumbsRenderer
BreadcrumbsRenderer | public class BreadcrumbsRenderer extends AbstractRenderer (Code) | | Renderer for a
Breadcrumbs component.
This class renders a breadcrumb or parentage path.
|
Method Summary | |
public void | encodeChildren(FacesContext context, UIComponent component) Overrides encodeChildren of Renderer to do nothing. | public boolean | getRendersChildren() Returns a flag indicating that this component is responsible
for rendering it's children. | protected void | renderBreadcrumbsLink(FacesContext context, Hyperlink link, Theme theme) Renders the hyperlinks which make up the breadcrumbs. | protected void | renderBreadcrumbsSeparator(FacesContext context, Breadcrumbs breadcrumbs, Theme theme, ResponseWriter writer) Renders the separator between the elements of the breadcrumbs. | protected void | renderBreadcrumbsText(FacesContext context, Hyperlink crumb, Theme theme, ResponseWriter writer) Renders the final breadcrumb text which represents the current page. | protected void | renderContainingTable(FacesContext context, Breadcrumbs breadcrumbs, Theme theme, ResponseWriter writer) Renders the attributes for the table containing the breadcrumbs. | protected void | renderEnd(FacesContext context, UIComponent component, ResponseWriter writer) Renders the breadcrumbs. |
BreadcrumbsRenderer | public BreadcrumbsRenderer()(Code) | | Creates a new instance of BreadcrumbsRenderer
|
encodeChildren | public void encodeChildren(FacesContext context, UIComponent component) throws java.io.IOException(Code) | | Overrides encodeChildren of Renderer to do nothing. This
class renders its own children, but not through this
method.
Parameters: context - The FacesContext of the request Parameters: component - The component associated with therenderer. |
getRendersChildren | public boolean getRendersChildren()(Code) | | Returns a flag indicating that this component is responsible
for rendering it's children.
|
renderBreadcrumbsLink | protected void renderBreadcrumbsLink(FacesContext context, Hyperlink link, Theme theme) throws IOException(Code) | | Renders the hyperlinks which make up the breadcrumbs.
Parameters: context - The current FacesContext Parameters: link - The component representing a page in the breadcrumbs. Parameters: theme - The theme to useThis must be a Hyperlink or subclass of a Hyperlink. exception: IOException - if an input/output error occurss |
renderBreadcrumbsSeparator | protected void renderBreadcrumbsSeparator(FacesContext context, Breadcrumbs breadcrumbs, Theme theme, ResponseWriter writer) throws IOException(Code) | | Renders the separator between the elements of the breadcrumbs.
Parameters: context - The current FacesContext Parameters: breadcrumbs - The Breadcrumbs object to use Parameters: theme - The theme to use Parameters: writer - The current ResponseWriter exception: IOException - if an input/output error occurs |
renderBreadcrumbsText | protected void renderBreadcrumbsText(FacesContext context, Hyperlink crumb, Theme theme, ResponseWriter writer) throws IOException(Code) | | Renders the final breadcrumb text which represents the current page.
Parameters: context - The current FacesContext Parameters: breadcrumbs - The Breadcrumbs object to use Parameters: pageName - The current page name. Parameters: theme - The theme to use Parameters: writer - The current ResponseWriter exception: IOException - if an input/output error occurss |
renderContainingTable | protected void renderContainingTable(FacesContext context, Breadcrumbs breadcrumbs, Theme theme, ResponseWriter writer) throws IOException(Code) | | Renders the attributes for the table containing the breadcrumbs.
Parameters: context - The current FacesContext Parameters: breadcrumbs - The Breadcrumbs object to use Parameters: theme - The theme to use Parameters: writer - The current ResponseWriter exception: IOException - if an input/output error occurs |
renderEnd | protected void renderEnd(FacesContext context, UIComponent component, ResponseWriter writer) throws IOException(Code) | | Renders the breadcrumbs.
Parameters: context - The current FacesContext Parameters: component - The Breadcrumbs object to use Parameters: writer - The current ResponseWriter exception: IOException - if an input/output error occurss |
Methods inherited from com.sun.rave.web.ui.renderer.AbstractRenderer | protected void addBooleanAttributes(FacesContext context, UIComponent component, ResponseWriter writer, String names) throws IOException(Code)(Java Doc) protected void addCoreAttributes(FacesContext context, UIComponent component, ResponseWriter writer, String styles) throws IOException(Code)(Java Doc) protected void addIntegerAttributes(FacesContext context, UIComponent component, ResponseWriter writer, String names) throws IOException(Code)(Java Doc) protected static void addStringAttributes(FacesContext context, UIComponent component, ResponseWriter writer, String names) throws IOException(Code)(Java Doc) public void decode(FacesContext context, UIComponent component)(Code)(Java Doc) public void encodeBegin(FacesContext context, UIComponent component) throws IOException(Code)(Java Doc) public void encodeChildren(FacesContext context, UIComponent component) throws IOException(Code)(Java Doc) public void encodeEnd(FacesContext context, UIComponent component) throws IOException(Code)(Java Doc) protected Application getApplication()(Code)(Java Doc) protected Object getAsObject(FacesContext context, UIComponent component, String value)(Code)(Java Doc) protected String getAsString(FacesContext context, UIComponent component)(Code)(Java Doc) protected ExternalContext getExternalContext()(Code)(Java Doc) protected FacesContext getFacesContext()(Code)(Java Doc) protected Object getSubmittedValue(FacesContext context, UIComponent component)(Code)(Java Doc) protected boolean isDisabled(UIComponent component)(Code)(Java Doc) protected boolean isPortlet(FacesContext context)(Code)(Java Doc) protected boolean isReadOnly(UIComponent component)(Code)(Java Doc) protected void renderAttributes(FacesContext context, UIComponent component, ResponseWriter writer) throws IOException(Code)(Java Doc) protected void renderEnd(FacesContext context, UIComponent component, ResponseWriter writer) throws IOException(Code)(Java Doc) protected void renderMarkup(FacesContext context, UIComponent component, ResponseWriter writer, Markup markup) throws IOException(Code)(Java Doc) protected void renderStart(FacesContext context, UIComponent component, ResponseWriter writer) throws IOException(Code)(Java Doc) protected void setSubmittedValue(FacesContext context, UIComponent component)(Code)(Java Doc)
|
|
|