org.apache.myfaces.tobago.renderkit
Class AbstractLayoutableRendererBaseWrapper

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.apache.myfaces.tobago.renderkit.RendererBase
          extended by org.apache.myfaces.tobago.renderkit.AbstractRendererBaseWrapper
              extended by org.apache.myfaces.tobago.renderkit.AbstractLayoutableRendererBaseWrapper
All Implemented Interfaces:
LayoutableRenderer, LayoutInformationProvider
Direct Known Subclasses:
AbstractAjaxRendererBaseWrapper, AbstractLayoutRendererWrapper

public abstract class AbstractLayoutableRendererBaseWrapper
extends AbstractRendererBaseWrapper
implements LayoutableRenderer


Constructor Summary
AbstractLayoutableRendererBaseWrapper()
           
 
Method Summary
 int getComponentExtraHeight(FacesContext facesContext, UIComponent component)
           
 int getComponentExtraWidth(FacesContext facesContext, UIComponent component)
           
 int getFixedHeight(FacesContext facesContext, UIComponent component)
           
 int getFixedWidth(FacesContext facesContext, UIComponent component)
           
 int getHeaderHeight(FacesContext facesContext, UIComponent component)
           
protected  LayoutableRenderer getLayoutableRenderer(FacesContext facesContext)
           
 int getMinimumHeight(FacesContext facesContext, UIComponent component)
           
 Dimension getMinimumSize(FacesContext facesContext, UIComponent component)
           
 int getMinimumWidth(FacesContext facesContext, UIComponent component)
           
 int getPaddingHeight(FacesContext facesContext, UIComponent component)
           
 int getPaddingWidth(FacesContext facesContext, UIComponent component)
           
 void layoutBegin(FacesContext facesContext, UIComponent component)
           
 void layoutEnd(FacesContext facesContext, UIComponent component)
           
 
Methods inherited from class org.apache.myfaces.tobago.renderkit.AbstractRendererBaseWrapper
convertClientId, decode, encodeBegin, encodeChildren, encodeEnd, getConfiguredValue, getConvertedValue, getConverter, getCurrentValue, getCurrentValueAsObject, getPrepareRendersChildren, getRenderer, getRendererName, getRendererName, getRendersChildren, getValue, onComponentCreated, prepareRender, prepareRendersChildren
 
Methods inherited from class org.apache.myfaces.tobago.renderkit.RendererBase
getFormattedValue
 
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, encodeChildren, encodeEnd, getConvertedValue, getRendererName, getRendersChildren, prepareRender
 

Constructor Detail

AbstractLayoutableRendererBaseWrapper

public AbstractLayoutableRendererBaseWrapper()
Method Detail

getHeaderHeight

public final int getHeaderHeight(FacesContext facesContext,
                                 UIComponent component)
Specified by:
getHeaderHeight in interface LayoutInformationProvider

getPaddingWidth

public final int getPaddingWidth(FacesContext facesContext,
                                 UIComponent component)
Specified by:
getPaddingWidth in interface LayoutInformationProvider

getPaddingHeight

public final int getPaddingHeight(FacesContext facesContext,
                                  UIComponent component)
Specified by:
getPaddingHeight in interface LayoutInformationProvider

getComponentExtraWidth

public final int getComponentExtraWidth(FacesContext facesContext,
                                        UIComponent component)
Specified by:
getComponentExtraWidth in interface LayoutInformationProvider

getComponentExtraHeight

public final int getComponentExtraHeight(FacesContext facesContext,
                                         UIComponent component)
Specified by:
getComponentExtraHeight in interface LayoutInformationProvider

getMinimumWidth

public final int getMinimumWidth(FacesContext facesContext,
                                 UIComponent component)
Specified by:
getMinimumWidth in interface LayoutInformationProvider

getMinimumHeight

public final int getMinimumHeight(FacesContext facesContext,
                                  UIComponent component)
Specified by:
getMinimumHeight in interface LayoutInformationProvider

getMinimumSize

public final Dimension getMinimumSize(FacesContext facesContext,
                                      UIComponent component)
Specified by:
getMinimumSize in interface LayoutInformationProvider

getFixedWidth

public final int getFixedWidth(FacesContext facesContext,
                               UIComponent component)
Specified by:
getFixedWidth in interface LayoutInformationProvider

getFixedHeight

public final int getFixedHeight(FacesContext facesContext,
                                UIComponent component)
Specified by:
getFixedHeight in interface LayoutInformationProvider

layoutBegin

public final void layoutBegin(FacesContext facesContext,
                              UIComponent component)
                       throws IOException
Specified by:
layoutBegin in interface LayoutableRenderer
Throws:
IOException

layoutEnd

public final void layoutEnd(FacesContext facesContext,
                            UIComponent component)
                     throws IOException
Specified by:
layoutEnd in interface LayoutableRenderer
Throws:
IOException

getLayoutableRenderer

protected final LayoutableRenderer getLayoutableRenderer(FacesContext facesContext)


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