org.apache.myfaces.custom.navigation
Class HtmlNavigationRenderer
java.lang.Object
javax.faces.render.Renderer
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRenderer
org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlLinkRendererBase
org.apache.myfaces.renderkit.html.jsf.ExtendedHtmlLinkRenderer
org.apache.myfaces.renderkit.html.ext.HtmlLinkRenderer
org.apache.myfaces.custom.navigation.HtmlNavigationRenderer
public class HtmlNavigationRenderer
- extends HtmlLinkRenderer
- Version:
- $Revision: 980618 $ $Date: 2010-07-29 19:39:35 -0500 (Thu, 29 Jul 2010) $
- Author:
- Manfred Geiler (latest modification by $Author: lu4242 $)
Fields inherited from class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlLinkRendererBase |
URL_STATE_MARKER, URL_STATE_MARKER_LEN |
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 String |
getNavigationItemClass(org.apache.myfaces.custom.navigation.HtmlPanelNavigation navPanel,
org.apache.myfaces.custom.navigation.HtmlCommandNavigation navItem)
|
protected String |
getNavigationItemStyle(org.apache.myfaces.custom.navigation.HtmlPanelNavigation navPanel,
org.apache.myfaces.custom.navigation.HtmlCommandNavigation navItem)
|
boolean |
getRendersChildren()
|
protected String |
getStyle(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent link)
|
protected 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,
org.apache.myfaces.custom.navigation.HtmlPanelNavigation panelNav,
List children,
int level)
|
protected void |
writeStyleAttributes(javax.faces.context.ResponseWriter writer,
String style,
String styleClass)
|
Methods inherited from class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlLinkRendererBase |
renderJavaScriptAnchorStart, renderNonJavaScriptAnchorStart |
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 |
HtmlNavigationRenderer
public HtmlNavigationRenderer()
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 IOException
- Overrides:
encodeBegin
in class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlLinkRendererBase
- Throws:
IOException
encodeChildren
public void encodeChildren(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws IOException
- Overrides:
encodeChildren
in class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlLinkRendererBase
- Throws:
IOException
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws IOException
- Overrides:
encodeEnd
in class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlLinkRendererBase
- Throws:
IOException
renderChildren
protected void renderChildren(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
org.apache.myfaces.custom.navigation.HtmlPanelNavigation panelNav,
List children,
int level)
throws IOException
- Throws:
IOException
indent
protected void indent(javax.faces.context.ResponseWriter writer,
int level)
throws IOException
- Throws:
IOException
getNavigationItemStyle
protected String getNavigationItemStyle(org.apache.myfaces.custom.navigation.HtmlPanelNavigation navPanel,
org.apache.myfaces.custom.navigation.HtmlCommandNavigation navItem)
getNavigationItemClass
protected String getNavigationItemClass(org.apache.myfaces.custom.navigation.HtmlPanelNavigation navPanel,
org.apache.myfaces.custom.navigation.HtmlCommandNavigation navItem)
writeStyleAttributes
protected void writeStyleAttributes(javax.faces.context.ResponseWriter writer,
String style,
String styleClass)
throws IOException
- Throws:
IOException
getStyle
protected 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 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 © 2012 The Apache Software Foundation. All Rights Reserved.