org.apache.myfaces.tobago.renderkit.html.speyside.standard.tag
Class BoxRenderer

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.BoxRendererBase
                  extended by org.apache.myfaces.tobago.renderkit.html.speyside.standard.tag.BoxRenderer
All Implemented Interfaces:
AjaxRenderer, LayoutableRenderer, LayoutInformationProvider

public class BoxRenderer
extends BoxRendererBase
implements AjaxRenderer


Field Summary
static String CONTENT_INNER
           
static String HEADER
           
 
Constructor Summary
BoxRenderer()
           
 
Method Summary
 void encodeAjax(FacesContext facesContext, UIComponent component)
           
 void encodeBegin(FacesContext facesContext, UIComponent component)
           
 void encodeEnd(FacesContext facesContext, UIComponent component)
           
 int getFixedHeight(FacesContext facesContext, UIComponent component)
           
 void prepareRender(FacesContext facesContext, UIComponent component)
           
protected  void renderBoxHeader(FacesContext facesContext, TobagoResponseWriter writer, UIComponent component)
           
protected  void renderToolbar(FacesContext facesContext, TobagoResponseWriter writer, UIPanel toolbar)
           
 
Methods inherited from class org.apache.myfaces.tobago.renderkit.BoxRendererBase
getRendersChildren
 
Methods inherited from class org.apache.myfaces.tobago.renderkit.LayoutableRendererBase
getComponentExtraHeight, getComponentExtraWidth, getFixedSpace, getFixedWidth, getHeaderHeight, getMinimumHeight, getMinimumSize, getMinimumWidth, getPaddingHeight, getPaddingWidth, layoutBegin, layoutEnd
 
Methods inherited from class org.apache.myfaces.tobago.renderkit.RendererBase
decode, getConfiguredValue, getConvertedValue, getConverter, getCurrentValue, getCurrentValueAsObject, getFormattedValue, getPrepareRendersChildren, getRendererName, getValue, onComponentCreated, prepareRendersChildren
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, encodeChildren
 
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, encodeChildren, getConvertedValue, getRendererName
 

Field Detail

CONTENT_INNER

public static final String CONTENT_INNER
See Also:
Constant Field Values

HEADER

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

BoxRenderer

public BoxRenderer()
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

getFixedHeight

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

encodeBegin

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

renderBoxHeader

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

encodeEnd

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

renderToolbar

protected void renderToolbar(FacesContext facesContext,
                             TobagoResponseWriter writer,
                             UIPanel toolbar)
                      throws IOException
Throws:
IOException

encodeAjax

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


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