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,
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) |
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, removePaginatorElement
buildAjaxRequest, 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, startScript
public void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
decode
in class javax.faces.render.Renderer
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
encodeEnd
in class javax.faces.render.Renderer
IOException
protected void preRender(javax.faces.context.FacesContext context, DataTable table)
protected void encodeScript(javax.faces.context.FacesContext context, DataTable table) throws IOException
IOException
protected void encodeMarkup(javax.faces.context.FacesContext context, DataTable table) throws IOException
IOException
protected void encodeRegularTable(javax.faces.context.FacesContext context, DataTable table) throws IOException
IOException
protected void encodeScrollableTable(javax.faces.context.FacesContext context, DataTable table) throws IOException
IOException
protected void encodeFrozenScrollableTable(javax.faces.context.FacesContext context, DataTable table, int frozenColumns) throws IOException
IOException
protected void encodeScrollAreaStart(javax.faces.context.FacesContext context, DataTable table, String containerClass, String containerBoxClass, String tableStyle, String tableStyleClass) throws IOException
IOException
protected void encodeScrollAreaEnd(javax.faces.context.FacesContext context) throws IOException
IOException
protected void encodeScrollBody(javax.faces.context.FacesContext context, DataTable table, String tableStyle, String tableStyleClass, int columnStart, int columnEnd, String tbodyId) throws IOException
IOException
protected void encodeVirtualScrollBody(javax.faces.context.FacesContext context, DataTable table, String tableStyle, String tableStyleClass, int columnStart, int columnEnd, String tbodyId) throws IOException
IOException
public void encodeColumnHeader(javax.faces.context.FacesContext context, DataTable table, UIColumn column) throws IOException
IOException
protected String resolveDefaultSortIcon(DataTable table, UIColumn column, String sortOrder)
protected void encodeColumnHeaderContent(javax.faces.context.FacesContext context, UIColumn column, String sortIcon) throws IOException
IOException
protected void encodeFilter(javax.faces.context.FacesContext context, DataTable table, UIColumn column) throws IOException
IOException
protected javax.faces.model.SelectItem[] getFilterOptions(UIColumn column)
public void encodeColumnFooter(javax.faces.context.FacesContext context, DataTable table, UIColumn column) throws IOException
IOException
protected void encodeThead(javax.faces.context.FacesContext context, DataTable table) throws IOException
IOException
protected void encodeThead(javax.faces.context.FacesContext context, DataTable table, int columnStart, int columnEnd, String theadId, String columnGroupType) throws IOException
IOException
public void encodeTbody(javax.faces.context.FacesContext context, DataTable table, boolean dataOnly) throws IOException
IOException
public void encodeTbody(javax.faces.context.FacesContext context, DataTable table, boolean dataOnly, int columnStart, int columnEnd, String tbodyId) throws IOException
IOException
protected void encodeRows(javax.faces.context.FacesContext context, DataTable table, int first, int last, int columnStart, int columnEnd) throws IOException
IOException
protected void encodeFrozenRows(javax.faces.context.FacesContext context, DataTable table) throws IOException
IOException
protected void encodeSummaryRow(javax.faces.context.FacesContext context, DataTable table, SummaryRow summaryRow) throws IOException
IOException
protected void encodeHeaderRow(javax.faces.context.FacesContext context, DataTable table, HeaderRow headerRow) throws IOException
IOException
public boolean encodeRow(javax.faces.context.FacesContext context, DataTable table, String clientId, int rowIndex) throws IOException
IOException
public boolean encodeRow(javax.faces.context.FacesContext context, DataTable table, String clientId, int rowIndex, int columnStart, int columnEnd) throws IOException
IOException
protected void encodeCell(javax.faces.context.FacesContext context, DataTable table, UIColumn column, String clientId, boolean selected) throws IOException
IOException
protected void encodeTFoot(javax.faces.context.FacesContext context, DataTable table) throws IOException
IOException
protected void encodeTFoot(javax.faces.context.FacesContext context, DataTable table, int columnStart, int columnEnd, String tfootId, String columnGroupType) throws IOException
IOException
protected void encodeFacet(javax.faces.context.FacesContext context, DataTable table, javax.faces.component.UIComponent facet, String styleClass) throws IOException
IOException
protected void encodeStateHolder(javax.faces.context.FacesContext context, DataTable table, String id, String value) throws IOException
IOException
public void encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException
encodeChildren
in class javax.faces.render.Renderer
IOException
public boolean getRendersChildren()
getRendersChildren
in class javax.faces.render.Renderer
protected void encodeColumnSelection(javax.faces.context.FacesContext context, DataTable table, String clientId, UIColumn column, boolean selected) throws IOException
IOException
protected void encodeRadio(javax.faces.context.FacesContext context, DataTable table, boolean checked, boolean disabled) throws IOException
IOException
protected void encodeCheckbox(javax.faces.context.FacesContext context, DataTable table, boolean checked, boolean disabled, String styleClass, boolean isHeaderCheckbox) throws IOException
IOException
protected void encodeNativeCheckbox(javax.faces.context.FacesContext context, DataTable table, boolean checked, boolean disabled, boolean isHeaderCheckbox) throws IOException
IOException
protected void encodeNativeRadio(javax.faces.context.FacesContext context, DataTable table, boolean checked, boolean disabled) throws IOException
IOException
protected void encodeSubTable(javax.faces.context.FacesContext context, DataTable table, SubTable subTable, int first, int last) throws IOException
IOException
protected 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
IOException
Copyright © 2017. All rights reserved.