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

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.SheetRenderer
All Implemented Interfaces:
AjaxRenderer, LayoutableRenderer, LayoutInformationProvider

public class SheetRenderer
extends LayoutableRendererBase
implements AjaxRenderer


Field Summary
static String SCROLL_POSTFIX
           
static String SELECTED_POSTFIX
           
static String WIDTHS_POSTFIX
           
 
Constructor Summary
SheetRenderer()
           
 
Method Summary
 void decode(FacesContext facesContext, UIComponent component)
           
 void encodeAjax(FacesContext facesContext, UIComponent component)
           
 void encodeChildren(FacesContext context, UIComponent component)
           
 void encodeEnd(FacesContext facesContext, UIComponent uiComponent)
           
 int getContentBorder(FacesContext facesContext, org.apache.myfaces.tobago.component.UIData data)
           
 int getFixedHeight(FacesContext facesContext, UIComponent component)
           
 boolean getPrepareRendersChildren()
           
 boolean getRendersChildren()
           
 int getScrollbarWidth(FacesContext facesContext, UIComponent component)
           
 void layoutBegin(FacesContext context, UIComponent component)
           
 void layoutEnd(FacesContext context, UIComponent component)
           
 boolean needVerticalScrollbar(FacesContext facesContext, org.apache.myfaces.tobago.component.UIData data)
           
 void prepareRender(FacesContext facesContext, UIComponent component)
           
 void prepareRendersChildren(FacesContext context, UIComponent component)
           
protected  void renderColumnSelectorHeader(FacesContext facesContext, TobagoResponseWriter writer, org.apache.myfaces.tobago.component.UIData component, UIColumn column)
           
 
Methods inherited from class org.apache.myfaces.tobago.renderkit.LayoutableRendererBase
getComponentExtraHeight, getComponentExtraWidth, getFixedSpace, getFixedWidth, getHeaderHeight, getMinimumHeight, getMinimumSize, getMinimumWidth, getPaddingHeight, getPaddingWidth
 
Methods inherited from class org.apache.myfaces.tobago.renderkit.RendererBase
getConfiguredValue, getConvertedValue, getConverter, getCurrentValue, getCurrentValueAsObject, getFormattedValue, getRendererName, getValue, onComponentCreated
 
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, encodeBegin, getConvertedValue, getRendererName
 

Field Detail

WIDTHS_POSTFIX

public static final String WIDTHS_POSTFIX
See Also:
Constant Field Values

SCROLL_POSTFIX

public static final String SCROLL_POSTFIX
See Also:
Constant Field Values

SELECTED_POSTFIX

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

SheetRenderer

public SheetRenderer()
Method Detail

prepareRender

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

encodeEnd

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

decode

public void decode(FacesContext facesContext,
                   UIComponent component)
Specified by:
decode in interface LayoutableRenderer
Overrides:
decode in class RendererBase

needVerticalScrollbar

public boolean needVerticalScrollbar(FacesContext facesContext,
                                     org.apache.myfaces.tobago.component.UIData data)

getScrollbarWidth

public int getScrollbarWidth(FacesContext facesContext,
                             UIComponent component)

getRendersChildren

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

renderColumnSelectorHeader

protected void renderColumnSelectorHeader(FacesContext facesContext,
                                          TobagoResponseWriter writer,
                                          org.apache.myfaces.tobago.component.UIData component,
                                          UIColumn column)
                                   throws IOException
Throws:
IOException

getContentBorder

public int getContentBorder(FacesContext facesContext,
                            org.apache.myfaces.tobago.component.UIData data)

encodeAjax

public void encodeAjax(FacesContext facesContext,
                       UIComponent component)
                throws IOException
Specified by:
encodeAjax in interface AjaxRenderer
Throws:
IOException

getFixedHeight

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

encodeChildren

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

layoutBegin

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

layoutEnd

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

getPrepareRendersChildren

public boolean getPrepareRendersChildren()
Overrides:
getPrepareRendersChildren in class RendererBase

prepareRendersChildren

public void prepareRendersChildren(FacesContext context,
                                   UIComponent component)
Overrides:
prepareRendersChildren in class RendererBase


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