org.apache.myfaces.tobago.renderkit
Class RendererBase

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.apache.myfaces.tobago.renderkit.RendererBase
All Implemented Interfaces:
TobagoRenderer
Direct Known Subclasses:
BoxRendererBase, CommandRendererBase, InputRendererBase, LayoutRenderer, MessageRendererBase, PageRendererBase, SelectManyRendererBase

public abstract class RendererBase
extends Renderer
implements TobagoRenderer


Constructor Summary
RendererBase()
           
 
Method Summary
protected  void checkForCommandFacet(UIComponent component, FacesContext facesContext, TobagoResponseWriter writer)
           
protected  void checkForCommandFacet(UIComponent component, List<String> clientIds, FacesContext facesContext, TobagoResponseWriter writer)
           
 void decode(FacesContext facesContext, UIComponent component)
           
 int getComponentExtraHeight(FacesContext facesContext, UIComponent component)
           
 int getComponentExtraWidth(FacesContext facesContext, UIComponent component)
           
 int getConfiguredValue(FacesContext facesContext, UIComponent component, String key)
           
 Object getConvertedValue(FacesContext context, UIComponent component, Object submittedValue)
           
 Converter getConverter(FacesContext context, UIComponent component)
           
protected  String getCurrentValue(FacesContext facesContext, UIComponent component)
           
 int getFixedHeight(FacesContext facesContext, UIComponent component)
           
 int getFixedSpace(FacesContext facesContext, UIComponent component, boolean width)
           
 int getFixedWidth(FacesContext facesContext, UIComponent component)
           
 int getHeaderHeight(FacesContext facesContext, UIComponent component)
           
 Dimension getMinimumSize(FacesContext facesContext, UIComponent component)
           
 int getPaddingHeight(FacesContext facesContext, UIComponent component)
           
 int getPaddingWidth(FacesContext facesContext, UIComponent component)
           
 String getRendererName(String rendererType)
           
protected  Object getValue(UIComponent component)
           
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, encodeBegin, encodeChildren, encodeEnd, getRendersChildren
 
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.TobagoRenderer
encodeBegin, encodeChildren, encodeEnd
 

Constructor Detail

RendererBase

public RendererBase()
Method Detail

decode

public void decode(FacesContext facesContext,
                   UIComponent component)
Overrides:
decode in class Renderer

getRendererName

public String getRendererName(String rendererType)

getConfiguredValue

public int getConfiguredValue(FacesContext facesContext,
                              UIComponent component,
                              String key)

getHeaderHeight

public int getHeaderHeight(FacesContext facesContext,
                           UIComponent component)

getPaddingWidth

public int getPaddingWidth(FacesContext facesContext,
                           UIComponent component)

getPaddingHeight

public int getPaddingHeight(FacesContext facesContext,
                            UIComponent component)

getComponentExtraWidth

public int getComponentExtraWidth(FacesContext facesContext,
                                  UIComponent component)

getComponentExtraHeight

public int getComponentExtraHeight(FacesContext facesContext,
                                   UIComponent component)

getMinimumSize

public Dimension getMinimumSize(FacesContext facesContext,
                                UIComponent component)

getFixedWidth

public int getFixedWidth(FacesContext facesContext,
                         UIComponent component)

getFixedHeight

public int getFixedHeight(FacesContext facesContext,
                          UIComponent component)

getFixedSpace

public int getFixedSpace(FacesContext facesContext,
                         UIComponent component,
                         boolean width)

getCurrentValue

protected String getCurrentValue(FacesContext facesContext,
                                 UIComponent component)

getValue

protected Object getValue(UIComponent component)

getConverter

public Converter getConverter(FacesContext context,
                              UIComponent component)

getConvertedValue

public Object getConvertedValue(FacesContext context,
                                UIComponent component,
                                Object submittedValue)
                         throws ConverterException
Overrides:
getConvertedValue in class Renderer
Throws:
ConverterException

checkForCommandFacet

protected void checkForCommandFacet(UIComponent component,
                                    FacesContext facesContext,
                                    TobagoResponseWriter writer)
                             throws IOException
Throws:
IOException

checkForCommandFacet

protected void checkForCommandFacet(UIComponent component,
                                    List<String> clientIds,
                                    FacesContext facesContext,
                                    TobagoResponseWriter writer)
                             throws IOException
Throws:
IOException


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