org.apache.myfaces.custom.navmenu.htmlnavmenu
Class HtmlNavigationMenuRenderer
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.navmenu.htmlnavmenu.HtmlNavigationMenuRenderer
public class HtmlNavigationMenuRenderer
- extends HtmlLinkRenderer
Many thanks to the guys from Swiss Federal Institute of Intellectual Property & Marc Bouquet
for helping to develop this component.
- Author:
- Thomas Spiegl, Manfred Geiler
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)
|
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 |
renderListLayout(javax.faces.context.FacesContext facesContext,
org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlPanelNavigationMenu panelNav)
|
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 |
RENDERER_TYPE
public static final String RENDERER_TYPE
- See Also:
- Constant Field Values
HtmlNavigationMenuRenderer
public HtmlNavigationMenuRenderer()
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
renderListLayout
protected void renderListLayout(javax.faces.context.FacesContext facesContext,
org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlPanelNavigationMenu panelNav)
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.