org.apache.myfaces.custom.navigation
Class HtmlNavigationRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRenderer
          extended by org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlLinkRendererBase
              extended by org.apache.myfaces.renderkit.html.jsf.ExtendedHtmlLinkRenderer
                  extended by org.apache.myfaces.renderkit.html.ext.HtmlLinkRenderer
                      extended by org.apache.myfaces.custom.navigation.HtmlNavigationRenderer

public class HtmlNavigationRenderer
extends HtmlLinkRenderer

Version:
$Revision: 472638 $ $Date: 2006-11-08 21:54:13 +0100 (Mi, 08 Nov 2006) $
Author:
Manfred Geiler (latest modification by $Author: grantsmith $)

Field Summary
 
Fields inherited from class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlLinkRendererBase
URL_STATE_MARKER, URL_STATE_MARKER_LEN
 
Constructor Summary
HtmlNavigationRenderer()
           
 
Method Summary
 void decode(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
           
 void encodeBegin(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
           
 void encodeChildren(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
           
 void encodeEnd(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
           
protected  java.lang.String getNavigationItemClass(HtmlPanelNavigation navPanel, HtmlCommandNavigation navItem)
           
protected  java.lang.String getNavigationItemStyle(HtmlPanelNavigation navPanel, HtmlCommandNavigation navItem)
           
 boolean getRendersChildren()
           
protected  java.lang.String getStyle(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent link)
           
protected  java.lang.String getStyleClass(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent link)
           
protected  void indent(javax.faces.context.ResponseWriter writer, int level)
           
protected  void renderChildren(javax.faces.context.FacesContext facesContext, javax.faces.context.ResponseWriter writer, HtmlPanelNavigation panelNav, java.util.List children, int level)
           
protected  void writeStyleAttributes(javax.faces.context.ResponseWriter writer, java.lang.String style, java.lang.String styleClass)
           
 
Methods inherited from class org.apache.myfaces.renderkit.html.ext.HtmlLinkRenderer
renderCommandLinkEnd, renderCommandLinkStart, renderOutputLinkStart, renderSpanEnd, renderSpanStart
 
Methods inherited from class org.apache.myfaces.renderkit.html.jsf.ExtendedHtmlLinkRenderer
addHiddenCommandParameter, findNestingForm
 
Methods inherited from class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlLinkRendererBase
renderJavaScriptAnchorStart, renderNonJavaScriptAnchorStart, renderOutputLinkEnd
 
Methods inherited from class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRenderer
getActionUrl, getChildCount, getChildren, getClientId, renderId, shouldRenderId, toUri
 
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

HtmlNavigationRenderer

public HtmlNavigationRenderer()
Method Detail

getRendersChildren

public boolean getRendersChildren()
Overrides:
getRendersChildren in class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlLinkRendererBase

decode

public void decode(javax.faces.context.FacesContext facesContext,
                   javax.faces.component.UIComponent component)
Overrides:
decode in class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlLinkRendererBase

encodeBegin

public void encodeBegin(javax.faces.context.FacesContext facesContext,
                        javax.faces.component.UIComponent component)
                 throws java.io.IOException
Overrides:
encodeBegin in class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlLinkRendererBase
Throws:
java.io.IOException

encodeChildren

public void encodeChildren(javax.faces.context.FacesContext facesContext,
                           javax.faces.component.UIComponent component)
                    throws java.io.IOException
Overrides:
encodeChildren in class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlLinkRendererBase
Throws:
java.io.IOException

encodeEnd

public void encodeEnd(javax.faces.context.FacesContext facesContext,
                      javax.faces.component.UIComponent component)
               throws java.io.IOException
Overrides:
encodeEnd in class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlLinkRendererBase
Throws:
java.io.IOException

renderChildren

protected void renderChildren(javax.faces.context.FacesContext facesContext,
                              javax.faces.context.ResponseWriter writer,
                              HtmlPanelNavigation panelNav,
                              java.util.List children,
                              int level)
                       throws java.io.IOException
Throws:
java.io.IOException

indent

protected void indent(javax.faces.context.ResponseWriter writer,
                      int level)
               throws java.io.IOException
Throws:
java.io.IOException

getNavigationItemStyle

protected java.lang.String getNavigationItemStyle(HtmlPanelNavigation navPanel,
                                                  HtmlCommandNavigation navItem)

getNavigationItemClass

protected java.lang.String getNavigationItemClass(HtmlPanelNavigation navPanel,
                                                  HtmlCommandNavigation navItem)

writeStyleAttributes

protected void writeStyleAttributes(javax.faces.context.ResponseWriter writer,
                                    java.lang.String style,
                                    java.lang.String styleClass)
                             throws java.io.IOException
Throws:
java.io.IOException

getStyle

protected java.lang.String getStyle(javax.faces.context.FacesContext facesContext,
                                    javax.faces.component.UIComponent link)
Overrides:
getStyle in class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlLinkRendererBase

getStyleClass

protected java.lang.String getStyleClass(javax.faces.context.FacesContext facesContext,
                                         javax.faces.component.UIComponent link)
Overrides:
getStyleClass in class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlLinkRendererBase


Copyright © 2011. All Rights Reserved.