org.apache.myfaces.custom.newspaper
Class HtmlNewspaperTableRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRenderer
          extended by org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlTableRendererBase
              extended by org.apache.myfaces.custom.newspaper.HtmlNewspaperTableRenderer

public class HtmlNewspaperTableRenderer
extends HtmlTableRendererBase

Renderer for a table in multiple balanced columns.

Author:
Jesse Wilson

Field Summary
 
Fields inherited from class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlTableRendererBase
CAPTION_FACET_NAME, FOOTER_FACET_NAME, HEADER_FACET_NAME
 
Constructor Summary
HtmlNewspaperTableRenderer()
           
 
Method Summary
 void encodeBegin(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent)
          Render the necessary bits that come before any actual rows in the table.
 void encodeChildren(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent)
          Render the TBODY section of the html table.
 void encodeEnd(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent uiComponent)
           
static org.apache.myfaces.custom.newspaper.HtmlNewspaperTableRenderer.Styles getStyles(HtmlNewspaperTable newspaperTable)
          Gets styles for the specified component.
 
Methods inherited from class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlTableRendererBase
afterBody, afterColumn, afterColumnHeaderOrFooter, afterRow, afterTable, beforeBody, beforeColumn, beforeColumnHeaderOrFooter, beforeRow, beforeTable, decode, determineChildColSpan, determineHeaderCellTag, determineHeaderFooterTag, encodeColumnChild, encodeInnerHtml, endTable, getFooterClass, getHeaderClass, getNewspaperColumns, getNewspaperTableSpacer, getRendersChildren, getStyles, hasFacet, hasNewspaperTableSpacer, inBodyStart, isNewspaperHorizontalOrientation, renderCaptionFacet, renderColumnBody, renderColumnChildHeaderOrFooterRow, renderColumnFooterCell, renderColumnFooterCell, renderColumnFooterRow, renderColumnHeaderCell, renderColumnHeaderCell, renderColumnHeaderRow, renderFacet, renderRowEnd, renderRowStart, renderRowStyle, renderSpacerCell, renderTableFooterRow, renderTableHeaderOrFooterRow, renderTableHeaderRow, startTable
 
Methods inherited from class org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlRenderer
getActionUrl, getChildCount, getChildren, getClientId, renderId, shouldRenderId, toUri
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, getConvertedValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlNewspaperTableRenderer

public HtmlNewspaperTableRenderer()
Method Detail

encodeBegin

public void encodeBegin(javax.faces.context.FacesContext facesContext,
                        javax.faces.component.UIComponent uiComponent)
                 throws java.io.IOException
Description copied from class: HtmlTableRendererBase
Render the necessary bits that come before any actual rows in the table.

Overrides:
encodeBegin in class HtmlTableRendererBase
Throws:
java.io.IOException
See Also:
Renderer.encodeBegin(FacesContext, UIComponent)

encodeChildren

public void encodeChildren(javax.faces.context.FacesContext facesContext,
                           javax.faces.component.UIComponent uiComponent)
                    throws java.io.IOException
Description copied from class: HtmlTableRendererBase
Render the TBODY section of the html table. See also method encodeInnerHtml.

Overrides:
encodeChildren in class HtmlTableRendererBase
Throws:
java.io.IOException
See Also:
Renderer.encodeChildren(FacesContext, UIComponent)

encodeEnd

public void encodeEnd(javax.faces.context.FacesContext facesContext,
                      javax.faces.component.UIComponent uiComponent)
               throws java.io.IOException
Overrides:
encodeEnd in class HtmlTableRendererBase
Throws:
java.io.IOException
See Also:
Renderer.encodeEnd(FacesContext, UIComponent)

getStyles

public static org.apache.myfaces.custom.newspaper.HtmlNewspaperTableRenderer.Styles getStyles(HtmlNewspaperTable newspaperTable)
Gets styles for the specified component.



Copyright © 2011 The Apache Software Foundation. All Rights Reserved.