public abstract class AbstractTableBaseRenderer extends SortingFilteringRowsRenderer
Modifier and Type | Field and Description |
---|---|
static String |
BREAK_ROW_BEFORE |
protected static String |
CELL_CLASS_KEY |
static String |
COLUMN_CLASS |
protected static String |
FIRST_ROW_CLASS_KEY |
static String |
ROW_CLASS |
static String |
ROW_CLASS_KEY |
Constructor and Description |
---|
AbstractTableBaseRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
encodeColumn(javax.faces.context.FacesContext context,
javax.faces.context.ResponseWriter writer,
javax.faces.component.UIColumn component,
RowHolder rowHolder) |
void |
encodeColumnEnd(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
String parentId) |
void |
encodeColumnStart(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
String parentId,
javax.faces.component.UIComponent component) |
void |
encodeFakeRow(javax.faces.context.FacesContext facesContext,
RowHolderBase rowHolder) |
void |
encodeFirstRowEnd(javax.faces.context.ResponseWriter writer) |
void |
encodeFirstRowStart(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
String parentId,
int currentRow,
javax.faces.component.UIComponent component) |
void |
encodeRowEnd(javax.faces.context.ResponseWriter writer) |
void |
encodeRowStart(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
String parentId,
int currentRow,
javax.faces.component.UIComponent component) |
protected void |
encodeStyle(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
String predefinedStyles) |
void |
encodeStyleClass(javax.faces.context.ResponseWriter writer,
javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
String styleClassAttribute,
String styleClass) |
protected String |
getCellClass(javax.faces.context.FacesContext context,
String id) |
protected String |
getCellElement(javax.faces.context.FacesContext context,
String id) |
protected int |
getColumnsCount(Iterator<javax.faces.component.UIComponent> col) |
protected String |
getFirstRowClass(javax.faces.context.FacesContext context,
String id) |
protected String |
getRowClass(javax.faces.context.FacesContext context,
String id) |
protected boolean |
isEmpty(String style) |
protected boolean |
isEmptyAttr(javax.faces.component.UIComponent component,
String attribute) |
protected void |
saveRowStyles(javax.faces.context.FacesContext context,
String id,
String firstRowClass,
String rowClass,
String cellClass) |
protected void |
setCellElement(javax.faces.context.FacesContext context,
String id,
String element) |
decodeFiltering, decodeSorting, decodeSortingFiltering, isBuiltInSortRequiredFocColumn, isFilterRowRequiredForColumn, renderFilterRow, renderSortButton, updateAttribute
createRowHolder, doCleanup, doEncodeChildren, encodeRow, encodeRows, get, getColumnClass, getColumnClasses, getRendersChildren, getRowClass, getRowClassAttribute, getRowClasses, process, processRows, put, renderRowHandlers
concatClasses, concatStyles, decode, doDecode, doEncodeBegin, doEncodeEnd, encodeBegin, encodeChildren, encodeEnd, getComponentClass, getResourcePath, getSkin, getUtils, isAlreadyRendered, preDecode, preEncodeBegin, queueComponentEventForBehaviorEvent, renderChildren
public static final String ROW_CLASS_KEY
public static final String BREAK_ROW_BEFORE
public static final String COLUMN_CLASS
public static final String ROW_CLASS
protected static final String FIRST_ROW_CLASS_KEY
protected static final String CELL_CLASS_KEY
public void encodeColumn(javax.faces.context.FacesContext context, javax.faces.context.ResponseWriter writer, javax.faces.component.UIColumn component, RowHolder rowHolder) throws IOException
IOException
public void encodeColumnStart(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, String parentId, javax.faces.component.UIComponent component) throws IOException
IOException
public void encodeColumnEnd(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, String parentId) throws IOException
IOException
public void encodeFirstRowStart(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, String parentId, int currentRow, javax.faces.component.UIComponent component) throws IOException
IOException
public void encodeFirstRowEnd(javax.faces.context.ResponseWriter writer) throws IOException
IOException
public void encodeRowStart(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, String parentId, int currentRow, javax.faces.component.UIComponent component) throws IOException
IOException
public void encodeRowEnd(javax.faces.context.ResponseWriter writer) throws IOException
IOException
protected String getFirstRowClass(javax.faces.context.FacesContext context, String id)
protected void setCellElement(javax.faces.context.FacesContext context, String id, String element)
protected void saveRowStyles(javax.faces.context.FacesContext context, String id, String firstRowClass, String rowClass, String cellClass)
public void encodeStyleClass(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String styleClassAttribute, String styleClass) throws IOException
IOException
protected boolean isEmptyAttr(javax.faces.component.UIComponent component, String attribute)
protected void encodeStyle(javax.faces.context.ResponseWriter writer, javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String predefinedStyles) throws IOException
IOException
protected boolean isEmpty(String style)
protected int getColumnsCount(Iterator<javax.faces.component.UIComponent> col)
public void encodeFakeRow(javax.faces.context.FacesContext facesContext, RowHolderBase rowHolder) throws IOException
encodeFakeRow
in class AbstractRowsRenderer
IOException
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.