org.apache.myfaces.trinidadinternal.renderkit.core.xhtml
Class BreadCrumbsRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.apache.myfaces.trinidad.render.CoreRenderer
          extended by org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlRenderer
              extended by org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.BreadCrumbsRenderer
All Implemented Interfaces:
java.lang.Cloneable, org.apache.myfaces.trinidad.render.TypedRenderer

public class BreadCrumbsRenderer
extends XhtmlRenderer


Field Summary
 
Fields inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlRenderer
TRANSPARENT_GIF
 
Fields inherited from class org.apache.myfaces.trinidad.render.CoreRenderer
CHAR_UNDEFINED, NO_CHILD_INDEX
 
Constructor Summary
BreadCrumbsRenderer()
           
 
Method Summary
protected  void encodeAll(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext rc, javax.faces.component.UIComponent component, org.apache.myfaces.trinidad.bean.FacesBean bean)
           
protected  void findTypeConstants(org.apache.myfaces.trinidad.bean.FacesBean.Type type)
           
protected  int getNumberOfIndentSpaces(org.apache.myfaces.trinidad.context.RenderingContext rc)
           
protected  java.lang.String getOrientation(org.apache.myfaces.trinidad.bean.FacesBean bean)
           
 boolean getRendersChildren()
           
protected  javax.faces.component.UIComponent getStamp(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext rc, org.apache.myfaces.trinidad.component.UIXHierarchy component, org.apache.myfaces.trinidad.bean.FacesBean bean)
          Gets the stamp to use to render each link
protected  boolean hasChildren(javax.faces.component.UIComponent component)
           
protected  void renderContent(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext rc, org.apache.myfaces.trinidad.component.UIXHierarchy component, org.apache.myfaces.trinidad.bean.FacesBean bean)
           
protected  void renderEndOfLink(javax.faces.context.FacesContext context, boolean isVertical)
           
protected  void renderLink(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext rc, javax.faces.component.UIComponent child, int renderedCount, boolean isLastChild)
           
protected  void renderNode(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext rc, org.apache.myfaces.trinidad.skin.Icon separatorIcon, javax.faces.component.UIComponent child, int renderedCount, boolean shouldRenderLastChild, boolean isFirstChild, boolean isLastChild, boolean isVertical)
           
protected  void renderStartOfLink(javax.faces.context.FacesContext context, boolean isVertical)
           
protected  void renderStyleAttributes(javax.faces.context.FacesContext context, org.apache.myfaces.trinidad.context.RenderingContext rc, javax.faces.component.UIComponent component, org.apache.myfaces.trinidad.bean.FacesBean bean)
          renderStyleAttributes - use the NavigationPath style class as the default styleClass
protected  boolean shouldRenderLastChild(org.apache.myfaces.trinidad.context.RenderingContext rc)
           
protected  boolean shouldRenderSeparatorOnNewLineWhenVertical(org.apache.myfaces.trinidad.context.RenderingContext rc)
           
 
Methods inherited from class org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.XhtmlRenderer
canSkipRendering, canSkipRendering, cloneWithType, getAbsoluteImageUri, getBaseImageUri, getDefaultStyleClass, getInlineStyle, getOnclick, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getPartialTriggers, getShortDesc, getStyleClass, renderAllAttributes, renderAllAttributes, renderDecorativeIcon, renderDecorativeIcon, renderEventHandlers, renderFormattedText, renderHAlign, renderInlineStyle, renderInlineStyleAttribute, renderPossiblyFormattedText, renderScriptDeferAttribute, renderScriptTypeAttribute, renderShortDescAttribute, renderSpacer, renderStyleAttributes, renderSubmitButtonNonJSBrowser, renderTransparent, renderVerticalSpacer, resolveProperty, resolveProperty, shouldRenderId, skipDecode, supportsAccessKeys, supportsAdvancedForms, supportsAutoCompleteFormElements, supportsDisabledFormElements, supportsEditing, supportsIntrinsicEvents, supportsNarrowScreen, supportsNavigation, supportsOnClickOnImgInput, supportsReadonlyFormElements, supportsScripting, supportsSeparateWindow, supportsStyleAttributes, supportsTarget, supportsTextPresentation
 
Methods inherited from class org.apache.myfaces.trinidad.render.CoreRenderer
afterEncode, beforeEncode, decode, decode, decodeBehaviors, delegateRenderer, delegateRendererBegin, delegateRendererEnd, encodeAllChildren, encodeBegin, encodeBegin, encodeChild, encodeChildren, encodeComponentResources, encodeEnd, encodeEnd, getBehaviorParameters, getClientId, getFacesBean, getFacet, getNextRenderedChildIndex, getRenderedChildCount, getRenderedFacetsAndChildren, getRenderingProperty, hasRenderedChildren, isDesktop, isGecko, isGenericPDA, isIE, isInaccessibleMode, isIPhone, isKonqueror, isNokiaS60, isOpera, isPDA, isScreenReaderMode, isWebKit, partialEncodeVisit, renderEncodedActionURI, renderEncodedResourceURI, renderId, renderStyleClass, renderStyleClasses, setRenderingProperty, setupChildrenEncodingContext, setupEncodingContext, setupEncodingContext, tearDownChildrenEncodingContext, tearDownEncodingContext, tearDownEncodingContext, toActionUri, toChar, toInt, toLong, toResourceUri, toString, toUri, visitChildrenForEncoding
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, getConvertedValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BreadCrumbsRenderer

public BreadCrumbsRenderer()
Method Detail

findTypeConstants

protected void findTypeConstants(org.apache.myfaces.trinidad.bean.FacesBean.Type type)
Overrides:
findTypeConstants in class XhtmlRenderer

getRendersChildren

public boolean getRendersChildren()
Overrides:
getRendersChildren in class javax.faces.render.Renderer

encodeAll

protected void encodeAll(javax.faces.context.FacesContext context,
                         org.apache.myfaces.trinidad.context.RenderingContext rc,
                         javax.faces.component.UIComponent component,
                         org.apache.myfaces.trinidad.bean.FacesBean bean)
                  throws java.io.IOException
Overrides:
encodeAll in class org.apache.myfaces.trinidad.render.CoreRenderer
Throws:
java.io.IOException

getStamp

protected javax.faces.component.UIComponent getStamp(javax.faces.context.FacesContext context,
                                                     org.apache.myfaces.trinidad.context.RenderingContext rc,
                                                     org.apache.myfaces.trinidad.component.UIXHierarchy component,
                                                     org.apache.myfaces.trinidad.bean.FacesBean bean)
Gets the stamp to use to render each link


renderContent

protected void renderContent(javax.faces.context.FacesContext context,
                             org.apache.myfaces.trinidad.context.RenderingContext rc,
                             org.apache.myfaces.trinidad.component.UIXHierarchy component,
                             org.apache.myfaces.trinidad.bean.FacesBean bean)
                      throws java.io.IOException
Throws:
java.io.IOException

hasChildren

protected boolean hasChildren(javax.faces.component.UIComponent component)

renderNode

protected void renderNode(javax.faces.context.FacesContext context,
                          org.apache.myfaces.trinidad.context.RenderingContext rc,
                          org.apache.myfaces.trinidad.skin.Icon separatorIcon,
                          javax.faces.component.UIComponent child,
                          int renderedCount,
                          boolean shouldRenderLastChild,
                          boolean isFirstChild,
                          boolean isLastChild,
                          boolean isVertical)
                   throws java.io.IOException
Throws:
java.io.IOException

renderLink

protected void renderLink(javax.faces.context.FacesContext context,
                          org.apache.myfaces.trinidad.context.RenderingContext rc,
                          javax.faces.component.UIComponent child,
                          int renderedCount,
                          boolean isLastChild)
                   throws java.io.IOException
Throws:
java.io.IOException

shouldRenderLastChild

protected boolean shouldRenderLastChild(org.apache.myfaces.trinidad.context.RenderingContext rc)

renderStyleAttributes

protected void renderStyleAttributes(javax.faces.context.FacesContext context,
                                     org.apache.myfaces.trinidad.context.RenderingContext rc,
                                     javax.faces.component.UIComponent component,
                                     org.apache.myfaces.trinidad.bean.FacesBean bean)
                              throws java.io.IOException
renderStyleAttributes - use the NavigationPath style class as the default styleClass

Overrides:
renderStyleAttributes in class XhtmlRenderer
Throws:
java.io.IOException

getOrientation

protected java.lang.String getOrientation(org.apache.myfaces.trinidad.bean.FacesBean bean)

renderStartOfLink

protected final void renderStartOfLink(javax.faces.context.FacesContext context,
                                       boolean isVertical)
                                throws java.io.IOException
Throws:
java.io.IOException

renderEndOfLink

protected final void renderEndOfLink(javax.faces.context.FacesContext context,
                                     boolean isVertical)
                              throws java.io.IOException
Throws:
java.io.IOException

shouldRenderSeparatorOnNewLineWhenVertical

protected boolean shouldRenderSeparatorOnNewLineWhenVertical(org.apache.myfaces.trinidad.context.RenderingContext rc)

getNumberOfIndentSpaces

protected int getNumberOfIndentSpaces(org.apache.myfaces.trinidad.context.RenderingContext rc)


Copyright © 2001-2011 The Apache Software Foundation. All Rights Reserved.