org.richfaces.component
@Generated(value={"RichFaces CDK","4.3.1.Final-redhat-1"}) public class UIDataTable extends AbstractDataTable implements javax.faces.component.behavior.ClientBehaviorHolder, org.richfaces.component.attribute.AjaxActivatorProps, org.richfaces.component.attribute.EventsRowProps, org.richfaces.component.attribute.IterationProps, org.richfaces.component.attribute.RowsProps, org.richfaces.component.attribute.SequenceProps, org.richfaces.component.attribute.StyleClassProps, org.richfaces.component.attribute.StyleProps, org.richfaces.component.attribute.TableStyleProps
The <rich:dataTable> component is used to render a table, including the table's caption. It works in conjunction with the <rich:column> and <rich:columnGroup> components to list the contents of a data model.
| Modifier and Type | Class and Description |
|---|---|
protected static class |
UIDataTable.Properties |
UIDataTableBase.PropertyKeys| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
CAPTION_FACET_NAMEBODY, FOOTER, FOOTER_FACET_NAME, HEADER, HEADER_FACET_NAME, NODATA_FACET_NAMEdecodeVisitor, updateVisitor, validateVisitorATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY| Constructor and Description |
|---|
UIDataTable() |
| Modifier and Type | Method and Description |
|---|---|
javax.faces.component.UIComponent |
getCaption() |
String |
getCaptionClass()
Assigns one or more space-separated CSS class names to the component caption
|
String |
getCellClass() |
String |
getColumnClasses()
Assigns one or more space-separated CSS class names to the columns of the table.
|
String |
getColumnFooterCellClass() |
String |
getColumnFooterClass() |
String |
getColumnHeaderCellClass() |
String |
getColumnHeaderClass() |
String |
getColumnHeaderFirstClass() |
Object |
getData() |
String |
getDefaultEventName() |
Collection<String> |
getEventNames() |
String |
getFamily() |
String |
getFilterVar()
Name of the variable used in EL expression provided in filterExpression in order to decide about displaying particular
row.
|
String |
getFirstColumnFooterClass() |
String |
getFirstRowClass() |
javax.faces.component.UIComponent |
getFooter()
The footer of the table
|
String |
getFooterCellClass() |
String |
getFooterClass() |
String |
getFooterFirstClass() |
javax.faces.component.UIComponent |
getHeader()
The header of the table
|
String |
getHeaderCellClass() |
String |
getHeaderClass() |
String |
getHeaderFirstClass() |
javax.faces.component.UIComponent |
getNoData()
The content to be displayed when table contains no rows (no data provided).
|
String |
getNoDataLabel()
The label to be displayed when table contains no rows (no data provided).
|
String |
getOnbeforedomupdate() |
String |
getOncomplete() |
String |
getOnrowclick() |
String |
getOnrowdblclick() |
String |
getOnrowkeydown() |
String |
getOnrowkeypress() |
String |
getOnrowkeyup() |
String |
getOnrowmousedown() |
String |
getOnrowmousemove() |
String |
getOnrowmouseout() |
String |
getOnrowmouseover() |
String |
getOnrowmouseup() |
Object |
getRender() |
String |
getRowClass()
Assigns one or more space-separated CSS class names to the table cells
|
String |
getRowClasses()
Assigns one or more space-separated CSS class names to the rows of the table.
|
SortMode |
getSortMode()
Specifies when table will be sorted according to one column (single) or multiple columns (multi).
|
Collection<Object> |
getSortPriority()
Comma-separated list of column names determining priority of row sorting.
|
String |
getStyle() |
String |
getStyleClass() |
boolean |
isLimitRender() |
boolean |
isResetValues() |
void |
setCaption(javax.faces.component.UIComponent facet) |
void |
setCaptionClass(String captionClass) |
void |
setCellClass(String cellClass) |
void |
setColumnClasses(String columnClasses) |
void |
setColumnFooterCellClass(String columnFooterCellClass) |
void |
setColumnFooterClass(String columnFooterClass) |
void |
setColumnHeaderCellClass(String columnHeaderCellClass) |
void |
setColumnHeaderClass(String columnHeaderClass) |
void |
setColumnHeaderFirstClass(String columnHeaderFirstClass) |
void |
setData(Object data) |
void |
setFilterVar(String filterVar) |
void |
setFirstColumnFooterClass(String firstColumnFooterClass) |
void |
setFirstRowClass(String firstRowClass) |
void |
setFooter(javax.faces.component.UIComponent facet) |
void |
setFooterCellClass(String footerCellClass) |
void |
setFooterClass(String footerClass) |
void |
setFooterFirstClass(String footerFirstClass) |
void |
setHeader(javax.faces.component.UIComponent facet) |
void |
setHeaderCellClass(String headerCellClass) |
void |
setHeaderClass(String headerClass) |
void |
setHeaderFirstClass(String headerFirstClass) |
void |
setLimitRender(boolean limitRender) |
void |
setNoData(javax.faces.component.UIComponent facet) |
void |
setNoDataLabel(String noDataLabel) |
void |
setOnbeforedomupdate(String onbeforedomupdate) |
void |
setOncomplete(String oncomplete) |
void |
setOnrowclick(String onrowclick) |
void |
setOnrowdblclick(String onrowdblclick) |
void |
setOnrowkeydown(String onrowkeydown) |
void |
setOnrowkeypress(String onrowkeypress) |
void |
setOnrowkeyup(String onrowkeyup) |
void |
setOnrowmousedown(String onrowmousedown) |
void |
setOnrowmousemove(String onrowmousemove) |
void |
setOnrowmouseout(String onrowmouseout) |
void |
setOnrowmouseover(String onrowmouseover) |
void |
setOnrowmouseup(String onrowmouseup) |
void |
setRender(Object render) |
void |
setResetValues(boolean resetValues) |
void |
setRowClass(String rowClass) |
void |
setRowClasses(String rowClasses) |
void |
setSortMode(SortMode sortMode) |
void |
setSortPriority(Collection<Object> sortPriority) |
void |
setStyle(String style) |
void |
setStyleClass(String styleClass) |
addFilteringListener, addSortingListener, columns, createExtendedDataModel, dataChildren, encodeMetaComponent, fixedChildren, getFilteringListeners, getRendersChildren, getSortingAndFilteringRenderTargetId, getSortingListeners, getSupportedMetaComponents, hasRowChildren, isColumnFacetPresent, queueEvent, removeFilteringListener, removeSortingListener, resolveClientId, restoreChildState, substituteUnresolvedClientId, visitDataChildren, visitFixedChildren, walkcaptureOrigValue, createComponentState, createFacesModel, getActualFirst, getActualRows, getFirst, getIterationStatusVar, getRelativeClientId, getRelativeRowIndex, getRowIndex, getRowKeyConverter, getRows, getValue, preEncodeBegin, restoreOrigValue, setFirst, setIterationStatusVar, setRows, setupVariable, setValue, setValueBinding, setValueExpression, updateState, updateStateallFixedChildren, broadcast, clearExtendedDataModel, clearInitialState, createUniqueId, doUpdate, extractKeySegment, getComponentState, getContainerClientId, getContainerClientId, getExtendedDataModel, getIterationState, getLocalComponentState, getRowCount, getRowData, getRowKey, getRowKeyVar, getStateVar, getVar, getVariablesMap, invokeOnComponent, invokeOnRow, isKeepSaved, isListenerForSource, isRowAvailable, iterate, keepSaved, markInitialState, preDecode, preUpdate, preValidate, processDecodes, processDecodesChildren, processEvent, processEvent, processUpdates, processUpdatesChildren, processValidatesChildren, processValidators, resetChildState, resetDataModel, restoreChildState, restoreState, saveChildState, saveChildState, saveState, setExtendedDataModel, setId, setIterationState, setKeepSaved, setRowKey, setRowKey, setRowKeyConverter, setRowKeyVar, setStateVar, setVar, visitDataChildrenMetaComponents, visitTree, walk, wrapEventaddClientBehavior, addFacesListener, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setParent, setRendered, setRendererType, setTransient, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, pushComponentToEL, restoreTransientState, saveTransientState, setInViewclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddClientBehavior, getClientBehaviorspublic static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily in class org.richfaces.component.UIDataAdaptorpublic Collection<String> getEventNames()
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHoldergetEventNames in class javax.faces.component.UIComponentBasepublic String getDefaultEventName()
getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHoldergetDefaultEventName in class javax.faces.component.UIComponentBasepublic String getCaptionClass()
AbstractDataTablegetCaptionClass in class AbstractDataTablepublic void setCaptionClass(String captionClass)
public String getCellClass()
getCellClass in interface org.richfaces.component.attribute.TableStylePropspublic void setCellClass(String cellClass)
public String getColumnClasses()
UIDataTableBasegetColumnClasses in class UIDataTableBasepublic void setColumnClasses(String columnClasses)
public String getColumnFooterCellClass()
getColumnFooterCellClass in interface org.richfaces.component.attribute.TableStylePropspublic void setColumnFooterCellClass(String columnFooterCellClass)
public String getColumnFooterClass()
getColumnFooterClass in interface org.richfaces.component.attribute.TableStylePropspublic void setColumnFooterClass(String columnFooterClass)
public String getColumnHeaderCellClass()
getColumnHeaderCellClass in interface org.richfaces.component.attribute.TableStylePropspublic void setColumnHeaderCellClass(String columnHeaderCellClass)
public String getColumnHeaderClass()
getColumnHeaderClass in interface org.richfaces.component.attribute.TableStylePropspublic void setColumnHeaderClass(String columnHeaderClass)
public String getColumnHeaderFirstClass()
getColumnHeaderFirstClass in interface org.richfaces.component.attribute.TableStylePropspublic void setColumnHeaderFirstClass(String columnHeaderFirstClass)
public Object getData()
getData in interface org.richfaces.component.attribute.AjaxActivatorPropspublic void setData(Object data)
public String getFilterVar()
UIDataTableBasegetFilterVar in class UIDataTableBasepublic void setFilterVar(String filterVar)
public String getFirstColumnFooterClass()
getFirstColumnFooterClass in interface org.richfaces.component.attribute.TableStylePropspublic void setFirstColumnFooterClass(String firstColumnFooterClass)
public String getFirstRowClass()
getFirstRowClass in interface org.richfaces.component.attribute.TableStylePropspublic void setFirstRowClass(String firstRowClass)
public String getFooterCellClass()
getFooterCellClass in interface org.richfaces.component.attribute.TableStylePropspublic void setFooterCellClass(String footerCellClass)
public String getFooterClass()
getFooterClass in interface org.richfaces.component.attribute.ColumnPropspublic void setFooterClass(String footerClass)
public String getFooterFirstClass()
getFooterFirstClass in interface org.richfaces.component.attribute.TableStylePropspublic void setFooterFirstClass(String footerFirstClass)
public String getHeaderCellClass()
getHeaderCellClass in interface org.richfaces.component.attribute.TableStylePropspublic void setHeaderCellClass(String headerCellClass)
public String getHeaderClass()
getHeaderClass in interface org.richfaces.component.attribute.ColumnPropspublic void setHeaderClass(String headerClass)
public String getHeaderFirstClass()
getHeaderFirstClass in interface org.richfaces.component.attribute.TableStylePropspublic void setHeaderFirstClass(String headerFirstClass)
public boolean isLimitRender()
isLimitRender in interface org.richfaces.component.attribute.AjaxActivatorPropspublic void setLimitRender(boolean limitRender)
public String getNoDataLabel()
UIDataTableBasegetNoDataLabel in class UIDataTableBasepublic void setNoDataLabel(String noDataLabel)
public String getOnbeforedomupdate()
getOnbeforedomupdate in interface org.richfaces.component.attribute.AjaxActivatorPropspublic void setOnbeforedomupdate(String onbeforedomupdate)
public String getOncomplete()
getOncomplete in interface org.richfaces.component.attribute.AjaxActivatorPropspublic void setOncomplete(String oncomplete)
public String getOnrowclick()
getOnrowclick in interface org.richfaces.component.attribute.EventsRowPropspublic void setOnrowclick(String onrowclick)
public String getOnrowdblclick()
getOnrowdblclick in interface org.richfaces.component.attribute.EventsRowPropspublic void setOnrowdblclick(String onrowdblclick)
public String getOnrowkeydown()
getOnrowkeydown in interface org.richfaces.component.attribute.EventsRowPropspublic void setOnrowkeydown(String onrowkeydown)
public String getOnrowkeypress()
getOnrowkeypress in interface org.richfaces.component.attribute.EventsRowPropspublic void setOnrowkeypress(String onrowkeypress)
public String getOnrowkeyup()
getOnrowkeyup in interface org.richfaces.component.attribute.EventsRowPropspublic void setOnrowkeyup(String onrowkeyup)
public String getOnrowmousedown()
getOnrowmousedown in interface org.richfaces.component.attribute.EventsRowPropspublic void setOnrowmousedown(String onrowmousedown)
public String getOnrowmousemove()
getOnrowmousemove in interface org.richfaces.component.attribute.EventsRowPropspublic void setOnrowmousemove(String onrowmousemove)
public String getOnrowmouseout()
getOnrowmouseout in interface org.richfaces.component.attribute.EventsRowPropspublic void setOnrowmouseout(String onrowmouseout)
public String getOnrowmouseover()
getOnrowmouseover in interface org.richfaces.component.attribute.EventsRowPropspublic void setOnrowmouseover(String onrowmouseover)
public String getOnrowmouseup()
getOnrowmouseup in interface org.richfaces.component.attribute.EventsRowPropspublic void setOnrowmouseup(String onrowmouseup)
public Object getRender()
getRender in interface org.richfaces.component.attribute.AjaxActivatorPropspublic void setRender(Object render)
public boolean isResetValues()
isResetValues in interface org.richfaces.component.attribute.AjaxActivatorPropspublic void setResetValues(boolean resetValues)
public String getRowClass()
UIDataTableBasegetRowClass in class UIDataTableBasepublic void setRowClass(String rowClass)
public String getRowClasses()
UIDataTableBasegetRowClasses in class UIDataTableBasepublic void setRowClasses(String rowClasses)
public SortMode getSortMode()
UIDataTableBasegetSortMode in class UIDataTableBasepublic void setSortMode(SortMode sortMode)
public Collection<Object> getSortPriority()
UIDataTableBasegetSortPriority in class UIDataTableBasepublic void setSortPriority(Collection<Object> sortPriority)
public String getStyle()
getStyle in interface org.richfaces.component.attribute.StylePropspublic void setStyle(String style)
public String getStyleClass()
getStyleClass in interface org.richfaces.component.attribute.StyleClassPropspublic void setStyleClass(String styleClass)
public javax.faces.component.UIComponent getCaption()
getCaption in class AbstractDataTablepublic void setCaption(javax.faces.component.UIComponent facet)
public javax.faces.component.UIComponent getFooter()
UIDataTableBasegetFooter in class UIDataTableBasepublic void setFooter(javax.faces.component.UIComponent facet)
public javax.faces.component.UIComponent getNoData()
UIDataTableBasegetNoData in class UIDataTableBasepublic void setNoData(javax.faces.component.UIComponent facet)
public javax.faces.component.UIComponent getHeader()
UIDataTableBasegetHeader in class UIDataTableBasepublic void setHeader(javax.faces.component.UIComponent facet)
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.