org.apache.myfaces.custom.fisheye
Class HtmlFishEyeNavigationMenuRenderer

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.fisheye.HtmlFishEyeNavigationMenuRenderer

public class HtmlFishEyeNavigationMenuRenderer
extends HtmlLinkRenderer

Renderer for the FishEyeList component

Version:
$Revision$ $Date$
Author:
Jurgen Lust (latest modification by $Author$)

Field Summary
static java.lang.String ATTACH_EDGE_ATTR
           
static java.lang.String CAPTION_ATTR
           
static java.lang.String CONSERVATIVE_TRIGGER_ATTR
           
static java.lang.String EFFECT_UNITS_ATTR
           
static java.lang.String ICON_SRC_ATTR
           
static java.lang.String ITEM_HEIGHT_ATTR
           
static java.lang.String ITEM_MAX_HEIGHT_ATTR
           
static java.lang.String ITEM_MAX_WIDTH_ATTR
           
static java.lang.String ITEM_PADDING_ATTR
           
static java.lang.String ITEM_WIDTH_ATTR
           
static java.lang.String LABEL_EDGE_ATTR
           
static java.lang.String ORIENTATION_ATTR
           
static java.lang.String RENDERER_TYPE
           
 
Constructor Summary
HtmlFishEyeNavigationMenuRenderer()
           
 
Method Summary
 void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
 void encodeBegin(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
 void encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
 void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
           
 boolean getRendersChildren()
           
protected  void renderMenuItem(javax.faces.context.FacesContext context, javax.faces.context.ResponseWriter writer, javax.faces.component.UIComponent menu, javax.faces.component.UIComponent item, java.util.Stack childsMenuStack)
           
protected  void writeAttribute(javax.faces.context.ResponseWriter writer, HtmlFishEyeNavigationMenu fisheye, java.lang.String name, java.lang.Object value)
           
 
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
getStyle, getStyleClass, 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
 

Field Detail

ATTACH_EDGE_ATTR

public static final java.lang.String ATTACH_EDGE_ATTR
See Also:
Constant Field Values

CAPTION_ATTR

public static final java.lang.String CAPTION_ATTR
See Also:
Constant Field Values

EFFECT_UNITS_ATTR

public static final java.lang.String EFFECT_UNITS_ATTR
See Also:
Constant Field Values

ICON_SRC_ATTR

public static final java.lang.String ICON_SRC_ATTR
See Also:
Constant Field Values

ITEM_HEIGHT_ATTR

public static final java.lang.String ITEM_HEIGHT_ATTR
See Also:
Constant Field Values

ITEM_MAX_HEIGHT_ATTR

public static final java.lang.String ITEM_MAX_HEIGHT_ATTR
See Also:
Constant Field Values

ITEM_MAX_WIDTH_ATTR

public static final java.lang.String ITEM_MAX_WIDTH_ATTR
See Also:
Constant Field Values

ITEM_PADDING_ATTR

public static final java.lang.String ITEM_PADDING_ATTR
See Also:
Constant Field Values

ITEM_WIDTH_ATTR

public static final java.lang.String ITEM_WIDTH_ATTR
See Also:
Constant Field Values

LABEL_EDGE_ATTR

public static final java.lang.String LABEL_EDGE_ATTR
See Also:
Constant Field Values

ORIENTATION_ATTR

public static final java.lang.String ORIENTATION_ATTR
See Also:
Constant Field Values

CONSERVATIVE_TRIGGER_ATTR

public static final java.lang.String CONSERVATIVE_TRIGGER_ATTR
See Also:
Constant Field Values

RENDERER_TYPE

public static final java.lang.String RENDERER_TYPE
See Also:
Constant Field Values
Constructor Detail

HtmlFishEyeNavigationMenuRenderer

public HtmlFishEyeNavigationMenuRenderer()
Method Detail

decode

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

encodeBegin

public void encodeBegin(javax.faces.context.FacesContext context,
                        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
See Also:
Renderer.encodeBegin(javax.faces.context.FacesContext, javax.faces.component.UIComponent)

encodeChildren

public void encodeChildren(javax.faces.context.FacesContext context,
                           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
See Also:
Renderer.encodeChildren(javax.faces.context.FacesContext, javax.faces.component.UIComponent)

encodeEnd

public void encodeEnd(javax.faces.context.FacesContext context,
                      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
See Also:
Renderer.encodeEnd(javax.faces.context.FacesContext, javax.faces.component.UIComponent)

getRendersChildren

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

renderMenuItem

protected void renderMenuItem(javax.faces.context.FacesContext context,
                              javax.faces.context.ResponseWriter writer,
                              javax.faces.component.UIComponent menu,
                              javax.faces.component.UIComponent item,
                              java.util.Stack childsMenuStack)
                       throws java.io.IOException
Throws:
java.io.IOException

writeAttribute

protected void writeAttribute(javax.faces.context.ResponseWriter writer,
                              HtmlFishEyeNavigationMenu fisheye,
                              java.lang.String name,
                              java.lang.Object value)
                       throws java.io.IOException
Throws:
java.io.IOException


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