org.apache.myfaces.tobago.renderkit
Class LayoutableRendererBase

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
All Implemented Interfaces:
LayoutInformationProvider
Direct Known Subclasses:
BoxRendererBase, CommandRendererBase, InputRendererBase, LayoutRenderer, MessageRendererBase, PageRendererBase, RendererBaseWrapper, SelectManyRendererBase

public abstract class LayoutableRendererBase
extends RendererBase
implements LayoutInformationProvider


Field Summary
 
Fields inherited from class org.apache.myfaces.tobago.renderkit.RendererBase
LOG
 
Constructor Summary
LayoutableRendererBase()
           
 
Method Summary
protected  void checkForCommandFacet(UIComponent component, FacesContext facesContext, TobagoResponseWriter writer)
           
protected  void checkForCommandFacet(UIComponent component, java.util.List<java.lang.String> clientIds, FacesContext facesContext, TobagoResponseWriter writer)
           
 int getComponentExtraHeight(FacesContext facesContext, UIComponent component)
           
 int getComponentExtraWidth(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)
           
 java.awt.Dimension getMinimumSize(FacesContext facesContext, UIComponent component)
           
 int getPaddingHeight(FacesContext facesContext, UIComponent component)
           
 int getPaddingWidth(FacesContext facesContext, UIComponent component)
           
 
Methods inherited from class org.apache.myfaces.tobago.renderkit.RendererBase
decode, getConfiguredValue, getConvertedValue, getConverter, getCurrentValue, getRendererName, getValue
 
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
 

Constructor Detail

LayoutableRendererBase

public LayoutableRendererBase()
Method Detail

getHeaderHeight

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

getPaddingWidth

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

getPaddingHeight

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

getComponentExtraWidth

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

getComponentExtraHeight

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

getMinimumSize

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

getFixedWidth

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

getFixedHeight

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

getFixedSpace

public int getFixedSpace(FacesContext facesContext,
                         UIComponent component,
                         boolean width)
Specified by:
getFixedSpace in interface LayoutInformationProvider

checkForCommandFacet

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

checkForCommandFacet

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


Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.