public class DataTableRenderer extends DataRenderer
| Constructor and Description |
|---|
DataTableRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected void |
encodeCell(javax.faces.context.FacesContext context,
DataTable table,
UIColumn column,
String clientId,
boolean selected) |
protected void |
encodeCheckbox(javax.faces.context.FacesContext context,
DataTable table,
boolean checked,
boolean disabled,
String styleClass,
boolean isHeaderCheckbox) |
void |
encodeChildren(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
void |
encodeColumnFooter(javax.faces.context.FacesContext context,
DataTable table,
UIColumn column) |
void |
encodeColumnHeader(javax.faces.context.FacesContext context,
DataTable table,
UIColumn column) |
protected void |
encodeColumnHeaderContent(javax.faces.context.FacesContext context,
DataTable table,
UIColumn column,
String sortIcon) |
protected void |
encodeColumnSelection(javax.faces.context.FacesContext context,
DataTable table,
String clientId,
UIColumn column,
boolean selected) |
void |
encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component) |
protected void |
encodeFacet(javax.faces.context.FacesContext context,
DataTable table,
javax.faces.component.UIComponent facet,
String styleClass) |
protected void |
encodeFilter(javax.faces.context.FacesContext context,
DataTable table,
UIColumn column) |
protected void |
encodeFrozenRows(javax.faces.context.FacesContext context,
DataTable table,
int columnStart,
int columnEnd) |
protected void |
encodeFrozenScrollableTable(javax.faces.context.FacesContext context,
DataTable table,
int frozenColumns) |
protected void |
encodeHeaderRow(javax.faces.context.FacesContext context,
DataTable table,
HeaderRow headerRow) |
protected void |
encodeMarkup(javax.faces.context.FacesContext context,
DataTable table) |
protected void |
encodeNativeCheckbox(javax.faces.context.FacesContext context,
DataTable table,
boolean checked,
boolean disabled,
boolean isHeaderCheckbox) |
protected void |
encodeNativeRadio(javax.faces.context.FacesContext context,
DataTable table,
boolean checked,
boolean disabled) |
protected void |
encodeRadio(javax.faces.context.FacesContext context,
DataTable table,
boolean checked,
boolean disabled) |
protected void |
encodeRegularTable(javax.faces.context.FacesContext context,
DataTable table) |
boolean |
encodeRow(javax.faces.context.FacesContext context,
DataTable table,
String clientId,
int rowIndex) |
boolean |
encodeRow(javax.faces.context.FacesContext context,
DataTable table,
String clientId,
int rowIndex,
int columnStart,
int columnEnd) |
protected void |
encodeRows(javax.faces.context.FacesContext context,
DataTable table,
int first,
int last,
int columnStart,
int columnEnd) |
protected void |
encodeScript(javax.faces.context.FacesContext context,
DataTable table) |
protected void |
encodeScrollableTable(javax.faces.context.FacesContext context,
DataTable table) |
protected void |
encodeScrollAreaEnd(javax.faces.context.FacesContext context) |
protected void |
encodeScrollAreaStart(javax.faces.context.FacesContext context,
DataTable table,
String containerClass,
String containerBoxClass,
String tableStyle,
String tableStyleClass) |
protected void |
encodeScrollBody(javax.faces.context.FacesContext context,
DataTable table,
String tableStyle,
String tableStyleClass,
int columnStart,
int columnEnd,
String tbodyId) |
protected void |
encodeSortableHeaderOnReflow(javax.faces.context.FacesContext context,
DataTable table) |
protected void |
encodeStateHolder(javax.faces.context.FacesContext context,
DataTable table,
String id,
String value) |
protected void |
encodeSubTable(javax.faces.context.FacesContext context,
DataTable table,
SubTable subTable,
int first,
int last) |
protected void |
encodeSummaryRow(javax.faces.context.FacesContext context,
DataTable table,
SummaryRow summaryRow) |
void |
encodeTbody(javax.faces.context.FacesContext context,
DataTable table,
boolean dataOnly) |
void |
encodeTbody(javax.faces.context.FacesContext context,
DataTable table,
boolean dataOnly,
int columnStart,
int columnEnd,
String tbodyId) |
protected void |
encodeTFoot(javax.faces.context.FacesContext context,
DataTable table) |
protected void |
encodeTFoot(javax.faces.context.FacesContext context,
DataTable table,
int columnStart,
int columnEnd,
String tfootId,
String columnGroupType) |
protected void |
encodeThead(javax.faces.context.FacesContext context,
DataTable table) |
protected void |
encodeThead(javax.faces.context.FacesContext context,
DataTable table,
int columnStart,
int columnEnd,
String theadId,
String columnGroupType) |
protected void |
encodeVirtualScrollBody(javax.faces.context.FacesContext context,
DataTable table,
String tableStyle,
String tableStyleClass,
int columnStart,
int columnEnd,
String tbodyId) |
protected Object |
findFilterValue(DataTable table,
UIColumn column) |
protected javax.faces.model.SelectItem[] |
getFilterOptions(UIColumn column) |
protected String |
getHeaderLabel(javax.faces.context.FacesContext context,
UIColumn column) |
boolean |
getRendersChildren() |
protected List<String> |
getSortableHeadersText(javax.faces.context.FacesContext context,
DataTable table) |
protected boolean |
isInSameGroup(javax.faces.context.FacesContext context,
DataTable table,
int currentRowIndex,
int step,
javax.el.ValueExpression groupByVE,
javax.el.ELContext eLContext) |
protected void |
preRender(javax.faces.context.FacesContext context,
DataTable table) |
protected String |
resolveDefaultSortIcon(DataTable table,
UIColumn column,
String sortOrder) |
protected String |
resolveDefaultSortIcon(UIColumn column,
SortMeta sortMeta) |
addPaginatorElement, encodeFacet, encodePaginatorConfig, encodePaginatorMarkup, removePaginatorElementbuildAjaxRequest, buildDomEvent, buildNonAjaxRequest, decodeBehaviors, encodeClientBehaviors, endScript, escapeText, getEventBehaviors, getHighlighter, getResourceRequestPath, getResourceURL, getWidgetBuilder, isGrouped, isValueBlank, renderChild, renderChildren, renderDomEvent, renderDomEvents, renderDynamicPassThruAttributes, renderOnchange, renderOnclick, renderPassThruAttributes, renderPassThruAttributes, renderValidationMetadata, shouldRenderAttribute, shouldWriteId, startScriptpublic void decode(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
decode in class javax.faces.render.Rendererpublic void encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws IOException
encodeEnd in class javax.faces.render.RendererIOExceptionprotected void preRender(javax.faces.context.FacesContext context,
DataTable table)
protected void encodeScript(javax.faces.context.FacesContext context,
DataTable table)
throws IOException
IOExceptionprotected void encodeMarkup(javax.faces.context.FacesContext context,
DataTable table)
throws IOException
IOExceptionprotected void encodeRegularTable(javax.faces.context.FacesContext context,
DataTable table)
throws IOException
IOExceptionprotected void encodeScrollableTable(javax.faces.context.FacesContext context,
DataTable table)
throws IOException
IOExceptionprotected void encodeFrozenScrollableTable(javax.faces.context.FacesContext context,
DataTable table,
int frozenColumns)
throws IOException
IOExceptionprotected void encodeScrollAreaStart(javax.faces.context.FacesContext context,
DataTable table,
String containerClass,
String containerBoxClass,
String tableStyle,
String tableStyleClass)
throws IOException
IOExceptionprotected void encodeScrollAreaEnd(javax.faces.context.FacesContext context)
throws IOException
IOExceptionprotected void encodeScrollBody(javax.faces.context.FacesContext context,
DataTable table,
String tableStyle,
String tableStyleClass,
int columnStart,
int columnEnd,
String tbodyId)
throws IOException
IOExceptionprotected void encodeVirtualScrollBody(javax.faces.context.FacesContext context,
DataTable table,
String tableStyle,
String tableStyleClass,
int columnStart,
int columnEnd,
String tbodyId)
throws IOException
IOExceptionpublic void encodeColumnHeader(javax.faces.context.FacesContext context,
DataTable table,
UIColumn column)
throws IOException
IOExceptionprotected String resolveDefaultSortIcon(DataTable table, UIColumn column, String sortOrder)
protected void encodeColumnHeaderContent(javax.faces.context.FacesContext context,
DataTable table,
UIColumn column,
String sortIcon)
throws IOException
IOExceptionprotected void encodeFilter(javax.faces.context.FacesContext context,
DataTable table,
UIColumn column)
throws IOException
IOExceptionprotected javax.faces.model.SelectItem[] getFilterOptions(UIColumn column)
public void encodeColumnFooter(javax.faces.context.FacesContext context,
DataTable table,
UIColumn column)
throws IOException
IOExceptionprotected void encodeThead(javax.faces.context.FacesContext context,
DataTable table)
throws IOException
IOExceptionprotected void encodeThead(javax.faces.context.FacesContext context,
DataTable table,
int columnStart,
int columnEnd,
String theadId,
String columnGroupType)
throws IOException
IOExceptionpublic void encodeTbody(javax.faces.context.FacesContext context,
DataTable table,
boolean dataOnly)
throws IOException
IOExceptionpublic void encodeTbody(javax.faces.context.FacesContext context,
DataTable table,
boolean dataOnly,
int columnStart,
int columnEnd,
String tbodyId)
throws IOException
IOExceptionprotected void encodeRows(javax.faces.context.FacesContext context,
DataTable table,
int first,
int last,
int columnStart,
int columnEnd)
throws IOException
IOExceptionprotected void encodeFrozenRows(javax.faces.context.FacesContext context,
DataTable table,
int columnStart,
int columnEnd)
throws IOException
IOExceptionprotected void encodeSummaryRow(javax.faces.context.FacesContext context,
DataTable table,
SummaryRow summaryRow)
throws IOException
IOExceptionprotected void encodeHeaderRow(javax.faces.context.FacesContext context,
DataTable table,
HeaderRow headerRow)
throws IOException
IOExceptionpublic boolean encodeRow(javax.faces.context.FacesContext context,
DataTable table,
String clientId,
int rowIndex)
throws IOException
IOExceptionpublic boolean encodeRow(javax.faces.context.FacesContext context,
DataTable table,
String clientId,
int rowIndex,
int columnStart,
int columnEnd)
throws IOException
IOExceptionprotected void encodeCell(javax.faces.context.FacesContext context,
DataTable table,
UIColumn column,
String clientId,
boolean selected)
throws IOException
IOExceptionprotected void encodeTFoot(javax.faces.context.FacesContext context,
DataTable table)
throws IOException
IOExceptionprotected void encodeTFoot(javax.faces.context.FacesContext context,
DataTable table,
int columnStart,
int columnEnd,
String tfootId,
String columnGroupType)
throws IOException
IOExceptionprotected void encodeFacet(javax.faces.context.FacesContext context,
DataTable table,
javax.faces.component.UIComponent facet,
String styleClass)
throws IOException
IOExceptionprotected void encodeStateHolder(javax.faces.context.FacesContext context,
DataTable table,
String id,
String value)
throws IOException
IOExceptionpublic void encodeChildren(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
throws IOException
encodeChildren in class javax.faces.render.RendererIOExceptionpublic boolean getRendersChildren()
getRendersChildren in class javax.faces.render.Rendererprotected void encodeColumnSelection(javax.faces.context.FacesContext context,
DataTable table,
String clientId,
UIColumn column,
boolean selected)
throws IOException
IOExceptionprotected void encodeRadio(javax.faces.context.FacesContext context,
DataTable table,
boolean checked,
boolean disabled)
throws IOException
IOExceptionprotected void encodeCheckbox(javax.faces.context.FacesContext context,
DataTable table,
boolean checked,
boolean disabled,
String styleClass,
boolean isHeaderCheckbox)
throws IOException
IOExceptionprotected void encodeNativeCheckbox(javax.faces.context.FacesContext context,
DataTable table,
boolean checked,
boolean disabled,
boolean isHeaderCheckbox)
throws IOException
IOExceptionprotected void encodeNativeRadio(javax.faces.context.FacesContext context,
DataTable table,
boolean checked,
boolean disabled)
throws IOException
IOExceptionprotected void encodeSubTable(javax.faces.context.FacesContext context,
DataTable table,
SubTable subTable,
int first,
int last)
throws IOException
IOExceptionprotected boolean isInSameGroup(javax.faces.context.FacesContext context,
DataTable table,
int currentRowIndex,
int step,
javax.el.ValueExpression groupByVE,
javax.el.ELContext eLContext)
protected String getHeaderLabel(javax.faces.context.FacesContext context, UIColumn column)
protected void encodeSortableHeaderOnReflow(javax.faces.context.FacesContext context,
DataTable table)
throws IOException
IOExceptionCopyright © 2018. All rights reserved.