public abstract class AbstractTableRenderer extends AbstractTableBaseRenderer implements MetaComponentRenderer
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractTableRenderer.SimpleHeaderEncodeStrategy |
Modifier and Type | Field and Description |
---|---|
static String |
HIDDEN_CONTAINER_ID |
BREAK_ROW_BEFORE, CELL_CLASS_KEY, COLUMN_CLASS, FIRST_ROW_CLASS_KEY, ROW_CLASS, ROW_CLASS_KEY
Constructor and Description |
---|
AbstractTableRenderer() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
containsThead() |
RowHolderBase |
createRowHolder(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
Object[] options) |
void |
decodeMetaComponent(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
String metaComponentId) |
protected void |
doDecode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Template method for custom decoding of concrete renderer.
|
protected void |
doEncodeChildren(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
void |
encodeAfterRows(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext facesContext,
UIDataTableBase dataTableBase,
boolean encodeParentTBody,
boolean partialUpdate) |
void |
encodeBeforeRows(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext facesContext,
UIDataTableBase dataTableBase,
boolean encodeParentTBody,
boolean partialUpdate) |
abstract void |
encodeClientScript(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
UIDataTableBase component) |
protected void |
encodeColumnFacet(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter writer,
UIDataTableBase dataTableBase,
String facetName,
int colCount,
String cellClass) |
void |
encodeFooterFacet(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext facesContext,
UIDataTableBase dataTable,
boolean encodePartialUpdate) |
void |
encodeHeaderFacet(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext facesContext,
UIDataTableBase dataTable,
boolean encodePartialUpdate) |
abstract void |
encodeHiddenInput(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
UIDataTableBase component) |
protected void |
encodeHiddens(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext facesContext,
UIDataTableBase dataTableBase,
Object[] params) |
void |
encodeMetaComponent(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
String metaComponentId) |
void |
encodeNoDataFacetOrLabel(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext facesContext,
UIDataTableBase dataTableBase) |
abstract boolean |
encodeParentTBody(UIDataTableBase dataTableBase) |
void |
encodeTableBodyEnd(javax.faces.context.ResponseWriter writer) |
void |
encodeTableBodyStart(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext facesContext,
UIDataTableBase dataTableBase) |
void |
encodeTableEnd(javax.faces.context.ResponseWriter writer) |
protected void |
encodeTableFacet(javax.faces.context.FacesContext facesContext,
javax.faces.context.ResponseWriter writer,
String id,
int columns,
javax.faces.component.UIComponent footer,
String facetName,
String rowClass,
String cellClass,
boolean encodePartialUpdate) |
void |
encodeTableFacets(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
UIDataTableBase dataTable) |
void |
encodeTableRows(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext facesContext,
UIDataTableBase dataTableBase,
boolean encodePartialUpdate) |
void |
encodeTableStart(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
UIDataTableBase component) |
void |
encodeTableStructure(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
UIDataTableBase dataTable) |
abstract String |
getCellSkinClass() |
abstract String |
getColumnFooterCellSkinClass() |
abstract String |
getColumnFooterFirstSkinClass() |
abstract String |
getColumnFooterSkinClass() |
abstract String |
getColumnHeaderCellSkinClass() |
abstract String |
getColumnHeaderFirstSkinClass() |
abstract String |
getColumnHeaderSkinClass() |
abstract String |
getFirstRowSkinClass() |
abstract String |
getFooterCellSkinClass() |
abstract String |
getFooterFirstSkinClass() |
abstract String |
getFooterSkinClass() |
abstract String |
getHeaderCellSkinClass() |
abstract EncodeStrategy |
getHeaderEncodeStrategy(javax.faces.component.UIComponent column,
String tableFacetName) |
abstract String |
getHeaderFirstSkinClass() |
abstract String |
getHeaderSkinClass() |
abstract EncodeStrategy |
getHiddenContainerStrategy(UIDataTableBase dataTableBase) |
abstract String |
getNoDataCellClass() |
abstract String |
getNoDataClass() |
abstract String |
getRowSkinClass() |
abstract String |
getTableBodySkinClass() |
abstract String |
getTableSkinClass() |
boolean |
isColumnAttributeSet(UIDataTableBase table,
String attributeName) |
protected boolean |
isEncodeHeaders(UIDataTableBase table) |
protected String |
mergeStyleClasses(String classAttribibute,
String skinClass,
javax.faces.component.UIComponent component) |
protected void |
partialEnd(javax.faces.context.FacesContext facesContext) |
protected void |
partialStart(javax.faces.context.FacesContext facesContext,
String id) |
protected void |
preEncodeBegin(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Clear the extendedDataModel before the component encode begins.
|
protected void |
putRowStylesIntoContext(javax.faces.context.FacesContext facesContext,
RowHolderBase rowHolder) |
encodeColumn, encodeColumnEnd, encodeColumnStart, encodeFakeRow, encodeFirstRowEnd, encodeFirstRowStart, encodeRowEnd, encodeRowStart, encodeStyle, encodeStyleClass, getCellClass, getCellElement, getColumnsCount, getFirstRowClass, getRowClass, isEmpty, isEmptyAttr, saveRowStyles, setCellElement
decodeFiltering, decodeSorting, decodeSortingFiltering, isBuiltInSortRequiredFocColumn, isFilterRowRequiredForColumn, renderFilterRow, renderSortButton, updateAttribute
doCleanup, encodeRow, encodeRows, get, getColumnClass, getColumnClasses, getRendersChildren, getRowClass, getRowClassAttribute, getRowClasses, process, processRows, put, renderRowHandlers
concatClasses, concatStyles, decode, doEncodeBegin, doEncodeEnd, encodeBegin, encodeChildren, encodeEnd, getComponentClass, getResourcePath, getSkin, getUtils, isAlreadyRendered, preDecode, queueComponentEventForBehaviorEvent, renderChildren
public static final String HIDDEN_CONTAINER_ID
public abstract EncodeStrategy getHiddenContainerStrategy(UIDataTableBase dataTableBase)
public boolean isColumnAttributeSet(UIDataTableBase table, String attributeName)
public RowHolderBase createRowHolder(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object[] options)
createRowHolder
in class AbstractRowsRenderer
protected void doDecode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
RendererBase
RendererBase.decode(FacesContext, UIComponent)
method.doDecode
in class RendererBase
protected void putRowStylesIntoContext(javax.faces.context.FacesContext facesContext, RowHolderBase rowHolder)
protected boolean isEncodeHeaders(UIDataTableBase table)
public void encodeTableStructure(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, UIDataTableBase dataTable) throws IOException
IOException
public void encodeBeforeRows(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext facesContext, UIDataTableBase dataTableBase, boolean encodeParentTBody, boolean partialUpdate) throws IOException
IOException
public void encodeAfterRows(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext facesContext, UIDataTableBase dataTableBase, boolean encodeParentTBody, boolean partialUpdate) throws IOException
IOException
public abstract boolean encodeParentTBody(UIDataTableBase dataTableBase)
public void encodeTableFacets(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, UIDataTableBase dataTable) throws IOException
IOException
public void encodeTableRows(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext facesContext, UIDataTableBase dataTableBase, boolean encodePartialUpdate) throws IOException
IOException
public void encodeNoDataFacetOrLabel(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext facesContext, UIDataTableBase dataTableBase) throws IOException
IOException
protected void preEncodeBegin(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
preEncodeBegin
in class RendererBase
context
- component
- IOException
protected void doEncodeChildren(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
doEncodeChildren
in class AbstractRowsRenderer
IOException
public void encodeTableStart(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, UIDataTableBase component) throws IOException
IOException
protected void encodeHiddens(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext facesContext, UIDataTableBase dataTableBase, Object[] params) throws IOException
IOException
public void encodeTableEnd(javax.faces.context.ResponseWriter writer) throws IOException
IOException
public abstract void encodeClientScript(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, UIDataTableBase component) throws IOException
IOException
public abstract void encodeHiddenInput(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, UIDataTableBase component) throws IOException
IOException
public void encodeTableBodyStart(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext facesContext, UIDataTableBase dataTableBase) throws IOException
IOException
public void encodeTableBodyEnd(javax.faces.context.ResponseWriter writer) throws IOException
IOException
public void encodeFooterFacet(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext facesContext, UIDataTableBase dataTable, boolean encodePartialUpdate) throws IOException
IOException
protected String mergeStyleClasses(String classAttribibute, String skinClass, javax.faces.component.UIComponent component)
public void encodeHeaderFacet(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext facesContext, UIDataTableBase dataTable, boolean encodePartialUpdate) throws IOException
IOException
protected void encodeColumnFacet(javax.faces.context.FacesContext context, javax.faces.context.ResponseWriter writer, UIDataTableBase dataTableBase, String facetName, int colCount, String cellClass) throws IOException
IOException
protected void encodeTableFacet(javax.faces.context.FacesContext facesContext, javax.faces.context.ResponseWriter writer, String id, int columns, javax.faces.component.UIComponent footer, String facetName, String rowClass, String cellClass, boolean encodePartialUpdate) throws IOException
IOException
public abstract EncodeStrategy getHeaderEncodeStrategy(javax.faces.component.UIComponent column, String tableFacetName)
public abstract boolean containsThead()
public abstract String getTableSkinClass()
public abstract String getTableBodySkinClass()
public abstract String getFirstRowSkinClass()
public abstract String getRowSkinClass()
public abstract String getHeaderCellSkinClass()
public abstract String getHeaderSkinClass()
public abstract String getHeaderFirstSkinClass()
public abstract String getColumnHeaderCellSkinClass()
public abstract String getColumnHeaderSkinClass()
public abstract String getColumnHeaderFirstSkinClass()
public abstract String getFooterCellSkinClass()
public abstract String getFooterSkinClass()
public abstract String getFooterFirstSkinClass()
public abstract String getColumnFooterCellSkinClass()
public abstract String getColumnFooterSkinClass()
public abstract String getColumnFooterFirstSkinClass()
public abstract String getCellSkinClass()
public abstract String getNoDataClass()
public abstract String getNoDataCellClass()
public void encodeMetaComponent(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String metaComponentId) throws IOException
encodeMetaComponent
in interface MetaComponentRenderer
IOException
public void decodeMetaComponent(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String metaComponentId)
decodeMetaComponent
in interface MetaComponentRenderer
protected void partialStart(javax.faces.context.FacesContext facesContext, String id) throws IOException
IOException
protected void partialEnd(javax.faces.context.FacesContext facesContext) throws IOException
IOException
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.