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 org.apache.myfaces.renderkit.html.ext.HtmlLinkRenderer
- Version:
- $Revision: 659874 $ $Date: 2008-05-24 15:59:15 -0500 (sáb, 24 may 2008) $
- Author:
- Manfred Geiler (latest modification by $Author: lu4242 $)
Fields inherited from class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlLinkRendererBase |
END_LINK_OUTCOME_AS_SPAN |
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.renderkit.html.ext.HtmlLinkRenderer |
renderCommandLinkEnd, renderCommandLinkStart, renderOutputLinkEnd, 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 |
buildServerOnclick, renderBehaviorizedJavaScriptAnchorStart, renderJavaScriptAnchorStart, renderNonJavaScriptAnchorStart, renderOutcomeLinkEnd, renderOutcomeLinkStart |
Methods inherited from class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRenderer |
getActionUrl, getChildCount, getChildren, getClientId, isCommonEventsOptimizationEnabled, isCommonPropertiesOptimizationEnabled, 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.