org.apache.myfaces.tobago.renderkit
Class LayoutComponentRendererBase

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.apache.myfaces.tobago.renderkit.RendererBase
          extended by org.apache.myfaces.tobago.renderkit.LayoutComponentRendererBase
All Implemented Interfaces:
LayoutComponentRenderer
Direct Known Subclasses:
InputRendererBase, PageRendererBase, RendererBaseWrapper, SelectManyRendererBase

public abstract class LayoutComponentRendererBase
extends RendererBase
implements LayoutComponentRenderer


Constructor Summary
LayoutComponentRendererBase()
           
 
Method Summary
 Measure getBorderBottom(javax.faces.context.FacesContext facesContext, Configurable component)
           
 Measure getBorderLeft(javax.faces.context.FacesContext facesContext, Configurable component)
           
 Measure getBorderRight(javax.faces.context.FacesContext facesContext, Configurable component)
           
 Measure getBorderTop(javax.faces.context.FacesContext facesContext, Configurable component)
           
 Measure getCustomMeasure(javax.faces.context.FacesContext facesContext, Configurable component, String name)
           
 Measure getHeight(javax.faces.context.FacesContext facesContext, Configurable component)
           
 Measure getMarginBottom(javax.faces.context.FacesContext facesContext, Configurable component)
           
 Measure getMarginLeft(javax.faces.context.FacesContext facesContext, Configurable component)
           
 Measure getMarginRight(javax.faces.context.FacesContext facesContext, Configurable component)
           
 Measure getMarginTop(javax.faces.context.FacesContext facesContext, Configurable component)
           
 Measure getMaximumHeight(javax.faces.context.FacesContext facesContext, Configurable component)
           
 Measure getMaximumWidth(javax.faces.context.FacesContext facesContext, Configurable component)
           
 Measure getMinimumHeight(javax.faces.context.FacesContext facesContext, Configurable component)
           
 Measure getMinimumWidth(javax.faces.context.FacesContext facesContext, Configurable component)
           
 Measure getPaddingBottom(javax.faces.context.FacesContext facesContext, Configurable component)
           
 Measure getPaddingLeft(javax.faces.context.FacesContext facesContext, Configurable component)
           
 Measure getPaddingRight(javax.faces.context.FacesContext facesContext, Configurable component)
           
 Measure getPaddingTop(javax.faces.context.FacesContext facesContext, Configurable component)
           
 Measure getPreferredHeight(javax.faces.context.FacesContext facesContext, Configurable component)
           
 Measure getPreferredWidth(javax.faces.context.FacesContext facesContext, Configurable component)
           
 Measure getVerticalScrollbarWeight(javax.faces.context.FacesContext facesContext, Configurable component)
           
 Measure getWidth(javax.faces.context.FacesContext facesContext, Configurable component)
           
 
Methods inherited from class org.apache.myfaces.tobago.renderkit.RendererBase
getConfiguredValue, getConvertedValue, getConverter, getCurrentValue, getCurrentValueAsObject, getFormattedValue, getPrepareRendersChildren, getRendererName, getResourceManager, getValue, onComponentCreated, prepareRender, prepareRendersChildren
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, decode, encodeBegin, encodeChildren, encodeEnd, getRendersChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutComponentRendererBase

public LayoutComponentRendererBase()
Method Detail

getCustomMeasure

public Measure getCustomMeasure(javax.faces.context.FacesContext facesContext,
                                Configurable component,
                                String name)
Specified by:
getCustomMeasure in interface LayoutComponentRenderer

getWidth

public Measure getWidth(javax.faces.context.FacesContext facesContext,
                        Configurable component)
Specified by:
getWidth in interface LayoutComponentRenderer

getHeight

public Measure getHeight(javax.faces.context.FacesContext facesContext,
                         Configurable component)
Specified by:
getHeight in interface LayoutComponentRenderer

getMinimumWidth

public Measure getMinimumWidth(javax.faces.context.FacesContext facesContext,
                               Configurable component)
Specified by:
getMinimumWidth in interface LayoutComponentRenderer

getMinimumHeight

public Measure getMinimumHeight(javax.faces.context.FacesContext facesContext,
                                Configurable component)
Specified by:
getMinimumHeight in interface LayoutComponentRenderer

getPreferredWidth

public Measure getPreferredWidth(javax.faces.context.FacesContext facesContext,
                                 Configurable component)
Specified by:
getPreferredWidth in interface LayoutComponentRenderer

getPreferredHeight

public Measure getPreferredHeight(javax.faces.context.FacesContext facesContext,
                                  Configurable component)
Specified by:
getPreferredHeight in interface LayoutComponentRenderer

getMaximumWidth

public Measure getMaximumWidth(javax.faces.context.FacesContext facesContext,
                               Configurable component)
Specified by:
getMaximumWidth in interface LayoutComponentRenderer

getMaximumHeight

public Measure getMaximumHeight(javax.faces.context.FacesContext facesContext,
                                Configurable component)
Specified by:
getMaximumHeight in interface LayoutComponentRenderer

getMarginLeft

public Measure getMarginLeft(javax.faces.context.FacesContext facesContext,
                             Configurable component)
Specified by:
getMarginLeft in interface LayoutComponentRenderer

getMarginRight

public Measure getMarginRight(javax.faces.context.FacesContext facesContext,
                              Configurable component)
Specified by:
getMarginRight in interface LayoutComponentRenderer

getMarginTop

public Measure getMarginTop(javax.faces.context.FacesContext facesContext,
                            Configurable component)
Specified by:
getMarginTop in interface LayoutComponentRenderer

getMarginBottom

public Measure getMarginBottom(javax.faces.context.FacesContext facesContext,
                               Configurable component)
Specified by:
getMarginBottom in interface LayoutComponentRenderer

getBorderLeft

public Measure getBorderLeft(javax.faces.context.FacesContext facesContext,
                             Configurable component)
Specified by:
getBorderLeft in interface LayoutComponentRenderer

getBorderRight

public Measure getBorderRight(javax.faces.context.FacesContext facesContext,
                              Configurable component)
Specified by:
getBorderRight in interface LayoutComponentRenderer

getBorderTop

public Measure getBorderTop(javax.faces.context.FacesContext facesContext,
                            Configurable component)
Specified by:
getBorderTop in interface LayoutComponentRenderer

getBorderBottom

public Measure getBorderBottom(javax.faces.context.FacesContext facesContext,
                               Configurable component)
Specified by:
getBorderBottom in interface LayoutComponentRenderer

getPaddingLeft

public Measure getPaddingLeft(javax.faces.context.FacesContext facesContext,
                              Configurable component)
Specified by:
getPaddingLeft in interface LayoutComponentRenderer

getPaddingRight

public Measure getPaddingRight(javax.faces.context.FacesContext facesContext,
                               Configurable component)
Specified by:
getPaddingRight in interface LayoutComponentRenderer

getPaddingTop

public Measure getPaddingTop(javax.faces.context.FacesContext facesContext,
                             Configurable component)
Specified by:
getPaddingTop in interface LayoutComponentRenderer

getPaddingBottom

public Measure getPaddingBottom(javax.faces.context.FacesContext facesContext,
                                Configurable component)
Specified by:
getPaddingBottom in interface LayoutComponentRenderer

getVerticalScrollbarWeight

public Measure getVerticalScrollbarWeight(javax.faces.context.FacesContext facesContext,
                                          Configurable component)
Specified by:
getVerticalScrollbarWeight in interface LayoutComponentRenderer


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