org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag
Class MenuBarRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.apache.myfaces.tobago.renderkit.RendererBase
          extended by org.apache.myfaces.tobago.renderkit.LayoutableRendererBase
              extended by org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.MenuBarRenderer
All Implemented Interfaces:
LayoutableRenderer, LayoutInformationProvider

public class MenuBarRenderer
extends LayoutableRendererBase


Field Summary
static String SEARCH_ID_POSTFIX
           
 
Constructor Summary
MenuBarRenderer()
           
 
Method Summary
protected  void addScriptsAndStyles(FacesContext facesContext, UIComponent component, String clientId)
           
protected  String createJavascriptFunction(FacesContext facesContext, UIComponent component, String setupFunction)
           
 void encodeChildren(FacesContext facesContext, UIComponent component)
           
 void encodeEnd(FacesContext facesContext, UIComponent component)
           
 boolean getRendersChildren()
           
 void prepareRender(FacesContext facesContext, UIComponent component)
           
 
Methods inherited from class org.apache.myfaces.tobago.renderkit.LayoutableRendererBase
getComponentExtraHeight, getComponentExtraWidth, getFixedHeight, getFixedSpace, getFixedWidth, getHeaderHeight, getMinimumHeight, getMinimumSize, getMinimumWidth, getPaddingHeight, getPaddingWidth, layoutBegin, layoutEnd
 
Methods inherited from class org.apache.myfaces.tobago.renderkit.RendererBase
decode, getConfiguredValue, getConvertedValue, getConverter, getCurrentValue, getCurrentValueAsObject, getFormattedValue, getPrepareRendersChildren, getRendererName, getValue, onComponentCreated, prepareRendersChildren
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, encodeBegin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.myfaces.tobago.renderkit.LayoutableRenderer
convertClientId, decode, encodeBegin, getConvertedValue, getRendererName
 

Field Detail

SEARCH_ID_POSTFIX

public static final String SEARCH_ID_POSTFIX
See Also:
Constant Field Values
Constructor Detail

MenuBarRenderer

public MenuBarRenderer()
Method Detail

encodeEnd

public void encodeEnd(FacesContext facesContext,
                      UIComponent component)
               throws IOException
Specified by:
encodeEnd in interface LayoutableRenderer
Overrides:
encodeEnd in class Renderer
Throws:
IOException

prepareRender

public void prepareRender(FacesContext facesContext,
                          UIComponent component)
                   throws IOException
Specified by:
prepareRender in interface LayoutableRenderer
Overrides:
prepareRender in class LayoutableRendererBase
Throws:
IOException

addScriptsAndStyles

protected void addScriptsAndStyles(FacesContext facesContext,
                                   UIComponent component,
                                   String clientId)
                            throws IOException
Throws:
IOException

createJavascriptFunction

protected String createJavascriptFunction(FacesContext facesContext,
                                          UIComponent component,
                                          String setupFunction)
                                   throws IOException
Throws:
IOException

encodeChildren

public void encodeChildren(FacesContext facesContext,
                           UIComponent component)
                    throws IOException
Specified by:
encodeChildren in interface LayoutableRenderer
Overrides:
encodeChildren in class Renderer
Throws:
IOException

getRendersChildren

public boolean getRendersChildren()
Specified by:
getRendersChildren in interface LayoutableRenderer
Overrides:
getRendersChildren in class Renderer


Copyright © 2002-2008 Apache Software Foundation. All Rights Reserved.