@Generated(value={"RichFaces CDK","4.5.0-SNAPSHOT"}) public class UIDataGrid extends AbstractDataGrid implements MetaComponentEncoder, MetaComponentResolver, Row, ColumnProps, CoreProps, IterationProps, RowColumnStyleProps, SequenceProps
The <rich:dataGrid> component is used to arrange data objects in a grid. Values in the grid can be updated dynamically from the data model, and Ajax updates can be limited to specific rows. The component supports header, footer, and caption facets.
| Modifier and Type | Class and Description |
|---|---|
protected static class |
UIDataGrid.Properties |
UIDataAdaptor.ComponentVisitor| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
BODY, CAPTION_FACET_NAME, 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 |
|---|
UIDataGrid() |
| Modifier and Type | Method and Description |
|---|---|
javax.faces.component.UIComponent |
getCaption() |
String |
getColumnClasses()
Assigns one or more space-separated CSS class names to the columns of the table.
|
int |
getElements()
Number of elements displayed in the grid
|
String |
getFamily() |
javax.faces.component.UIComponent |
getFooter() |
String |
getFooterClass()
Space-separated list of CSS style class(es) that will be applied to any footer generated for this column.
|
javax.faces.component.UIComponent |
getHeader() |
String |
getHeaderClass()
Space-separated list of CSS style class(es) that will be applied to any header generated for this column.
|
javax.faces.component.UIComponent |
getNoData() |
String |
getRowClasses()
Assigns one or more space-separated CSS class names to the rows of the table.
|
int |
getRows() |
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.
|
String |
getTitle()
Advisory title information about markup elements generated for this component.
|
void |
setCaption(javax.faces.component.UIComponent facet) |
void |
setColumnClasses(String columnClasses) |
void |
setElements(int elements) |
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 |
setRowClasses(String rowClasses) |
void |
setRows(int rows) |
void |
setStyle(String style) |
void |
setStyleClass(String styleClass) |
void |
setTitle(String title) |
columns, encodeMetaComponent, getColumns, resolveClientId, setColumns, substituteUnresolvedClientId, visitDataChildren, visitFixedChildrencaptureOrigValue, createComponentState, createExtendedDataModel, createFacesModel, getActualFirst, getActualRows, getFirst, getIterationStatusVar, getRelativeClientId, getRowIndex, getRowKeyConverter, getValue, invokeOnRow, preEncodeBegin, restoreOrigValue, setFirst, setIterationStatusVar, setupVariable, setValue, setValueBinding, setValueExpression, updateState, updateStateallFixedChildren, broadcast, clearExtendedDataModel, clearInitialState, createUniqueId, dataChildren, doUpdate, extractKeySegment, fixedChildren, getComponentState, getContainerClientId, getContainerClientId, getExtendedDataModel, getIterationState, getLocalComponentState, getRowCount, getRowData, getRowKey, getRowKeyVar, getStateVar, getVar, getVariablesMap, invokeOnComponent, isKeepSaved, isListenerForSource, isRowAvailable, iterate, keepSaved, markInitialState, matchesBaseId, preDecode, preUpdate, preValidate, processDecodes, processDecodesChildren, processEvent, processEvent, processUpdates, processUpdatesChildren, processValidatesChildren, processValidators, queueEvent, resetChildState, resetDataModel, restoreChildState, 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, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getRenderer, getRendererType, getRendersChildren, 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, waitencodeMetaComponentresolveClientId, substituteUnresolvedClientIdgetFirst, getIterationStatusVar, getRowKeyVar, getStateVar, getValue, getVar, isKeepSavedgetRowKeyConverterpublic static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily in class UIDataAdaptorpublic String getColumnClasses()
RowColumnStylePropsgetColumnClasses in interface RowColumnStylePropspublic void setColumnClasses(String columnClasses)
public int getElements()
AbstractDataGridgetElements in class AbstractDataGridpublic void setElements(int elements)
public String getFooterClass()
ColumnPropsgetFooterClass in interface ColumnPropspublic void setFooterClass(String footerClass)
public String getHeaderClass()
ColumnPropsgetHeaderClass in interface ColumnPropspublic void setHeaderClass(String headerClass)
public String getRowClasses()
RowColumnStylePropsgetRowClasses in interface RowColumnStylePropspublic void setRowClasses(String rowClasses)
public int getRows()
getRows in class AbstractDataGridpublic void setRows(int rows)
setRows in class UISequencepublic String getStyle()
CorePropspublic void setStyle(String style)
public String getStyleClass()
CorePropsgetStyleClass in interface CorePropspublic void setStyleClass(String styleClass)
public String getTitle()
CorePropspublic void setTitle(String title)
public javax.faces.component.UIComponent getFooter()
getFooter in class AbstractDataGridpublic void setFooter(javax.faces.component.UIComponent facet)
public javax.faces.component.UIComponent getHeader()
getHeader in class AbstractDataGridpublic void setHeader(javax.faces.component.UIComponent facet)
public javax.faces.component.UIComponent getCaption()
getCaption in class AbstractDataGridpublic void setCaption(javax.faces.component.UIComponent facet)
public javax.faces.component.UIComponent getNoData()
getNoData in class AbstractDataGridpublic void setNoData(javax.faces.component.UIComponent facet)
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.