@Generated(value={"RichFaces CDK","4.5.0-SNAPSHOT"}) public class UIDataTable extends AbstractDataTable implements javax.faces.component.behavior.ClientBehaviorHolder, EventsRowProps, IterationProps, RowsProps, SequenceProps, StyleClassProps, StyleProps
The <r:dataTable> component is used to render a table, including the table's caption. It works in conjunction with the <r:column> and <r:columnGroup> components to list the contents of a data model.
| Modifier and Type | Class and Description |
|---|---|
protected static class |
UIDataTable.Properties |
UIDataTableBase.PropertyKeysUIDataAdaptor.ComponentVisitor| 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_KEYMETA_COMPONENT_SEPARATOR_CHAR| 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 |
getColumnClasses()
Assigns one or more space-separated CSS class names to the columns of the table.
|
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.
|
javax.faces.component.UIComponent |
getFooter()
The footer of the table
|
String |
getFooterClass()
Assigns one or more space-separated CSS class names to the table footer
|
javax.faces.component.UIComponent |
getHeader()
The header of the table
|
String |
getHeaderClass()
Assigns one or more space-separated CSS class names to the table header
|
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 |
getOnrowclick()
Javascript code executed when a pointer button is clicked over table row.
|
String |
getOnrowdblclick()
Javascript code executed when a pointer button is double clicked over table row.
|
String |
getOnrowkeydown()
Javascript code executed when a key is pressed down over table row.
|
String |
getOnrowkeypress()
Javascript code executed when a key is pressed and released over table row.
|
String |
getOnrowkeyup()
Javascript code executed when a key is released over table row.
|
String |
getOnrowmousedown()
Javascript code executed when a pointer button is pressed down over table row.
|
String |
getOnrowmousemove()
Javascript code executed when a pointer button is moved within table row.
|
String |
getOnrowmouseout()
Javascript code executed when a pointer button is moved away from table row.
|
String |
getOnrowmouseover()
Javascript code executed when a pointer button is moved onto table row.
|
String |
getOnrowmouseup()
Javascript code executed when a pointer button is released over table row.
|
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()
CSS style(s) to be applied when this component is rendered.
|
String |
getStyleClass()
Space-separated list of CSS style class(es) to be applied when this element is rendered.
|
void |
setCaption(javax.faces.component.UIComponent facet) |
void |
setCaptionClass(String captionClass) |
void |
setColumnClasses(String columnClasses) |
void |
setFilterVar(String filterVar) |
void |
setFooter(javax.faces.component.UIComponent facet) |
void |
setFooterClass(String footerClass) |
void |
setHeader(javax.faces.component.UIComponent facet) |
void |
setHeaderClass(String headerClass) |
void |
setNoData(javax.faces.component.UIComponent facet) |
void |
setNoDataLabel(String noDataLabel) |
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 |
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, 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, getPassThroughAttributes, getRenderer, getRendererType, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setParent, setRendered, setRendererType, setTransient, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, 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, getClientBehaviorsgetFirst, getIterationStatusVar, getRowKeyVar, getStateVar, getValue, getVar, isKeepSavedgetRowKeyConverterpublic static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily in class 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 getColumnClasses()
UIDataTableBasegetColumnClasses in class UIDataTableBasepublic void setColumnClasses(String columnClasses)
public String getFilterVar()
UIDataTableBasegetFilterVar in class UIDataTableBasepublic void setFilterVar(String filterVar)
public String getFooterClass()
UIDataTableBasegetFooterClass in class UIDataTableBasepublic void setFooterClass(String footerClass)
public String getHeaderClass()
UIDataTableBasegetHeaderClass in class UIDataTableBasepublic void setHeaderClass(String headerClass)
public String getNoDataLabel()
UIDataTableBasegetNoDataLabel in class UIDataTableBasepublic void setNoDataLabel(String noDataLabel)
public String getOnrowclick()
EventsRowPropsgetOnrowclick in interface EventsRowPropsgetOnrowclick in class UIDataTableBasepublic void setOnrowclick(String onrowclick)
public String getOnrowdblclick()
EventsRowPropsgetOnrowdblclick in interface EventsRowPropsgetOnrowdblclick in class UIDataTableBasepublic void setOnrowdblclick(String onrowdblclick)
public String getOnrowkeydown()
EventsRowPropsgetOnrowkeydown in interface EventsRowPropsgetOnrowkeydown in class UIDataTableBasepublic void setOnrowkeydown(String onrowkeydown)
public String getOnrowkeypress()
EventsRowPropsgetOnrowkeypress in interface EventsRowPropsgetOnrowkeypress in class UIDataTableBasepublic void setOnrowkeypress(String onrowkeypress)
public String getOnrowkeyup()
EventsRowPropsgetOnrowkeyup in interface EventsRowPropsgetOnrowkeyup in class UIDataTableBasepublic void setOnrowkeyup(String onrowkeyup)
public String getOnrowmousedown()
EventsRowPropsgetOnrowmousedown in interface EventsRowPropsgetOnrowmousedown in class UIDataTableBasepublic void setOnrowmousedown(String onrowmousedown)
public String getOnrowmousemove()
EventsRowPropsgetOnrowmousemove in interface EventsRowPropsgetOnrowmousemove in class UIDataTableBasepublic void setOnrowmousemove(String onrowmousemove)
public String getOnrowmouseout()
EventsRowPropsgetOnrowmouseout in interface EventsRowPropsgetOnrowmouseout in class UIDataTableBasepublic void setOnrowmouseout(String onrowmouseout)
public String getOnrowmouseover()
EventsRowPropsgetOnrowmouseover in interface EventsRowPropsgetOnrowmouseover in class UIDataTableBasepublic void setOnrowmouseover(String onrowmouseover)
public String getOnrowmouseup()
EventsRowPropsgetOnrowmouseup in interface EventsRowPropsgetOnrowmouseup in class UIDataTableBasepublic void setOnrowmouseup(String onrowmouseup)
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()
StylePropsgetStyle in interface StylePropsgetStyle in class UIDataTableBasepublic void setStyle(String style)
public String getStyleClass()
StyleClassPropsgetStyleClass in interface StyleClassPropsgetStyleClass in class AbstractDataTablepublic 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 © 2014 JBoss by Red Hat. All rights reserved.