@Generated(value={"RichFaces CDK","4.3.0.20121024-M2"}) public class UIDataGrid extends AbstractDataGrid implements org.richfaces.component.MetaComponentEncoder, org.richfaces.component.MetaComponentResolver, org.richfaces.component.Row
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_KEY| Constructor and Description |
|---|
UIDataGrid() |
| Modifier and Type | Method and Description |
|---|---|
javax.faces.component.UIComponent |
getCaption() |
int |
getElements()
Number of elements displayed in the grid
|
String |
getFamily() |
javax.faces.component.UIComponent |
getFooter() |
javax.faces.component.UIComponent |
getHeader() |
javax.faces.component.UIComponent |
getNoData() |
int |
getRows() |
String |
getStyle() |
String |
getStyleClass() |
String |
getTitle() |
void |
setCaption(javax.faces.component.UIComponent facet) |
void |
setElements(int elements) |
void |
setFooter(javax.faces.component.UIComponent facet) |
void |
setHeader(javax.faces.component.UIComponent facet) |
void |
setNoData(javax.faces.component.UIComponent facet) |
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, getRelativeRowIndex, getRowIndex, getRowKeyConverter, getValue, preEncodeBegin, restoreOrigValue, setFirst, setIterationStatusVar, setupVariable, setValue, setValueBinding, setValueExpression, updateState, updateStateallFixedChildren, broadcast, clearInitialState, createUniqueId, dataChildren, doUpdate, extractKeySegment, fixedChildren, 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, 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, waitpublic static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily in class UIDataAdaptorpublic int getElements()
AbstractDataGridgetElements in class AbstractDataGridpublic void setElements(int elements)
public int getRows()
getRows in class AbstractDataGridpublic void setRows(int rows)
setRows in class UISequencepublic String getStyle()
public void setStyle(String style)
public String getStyleClass()
public void setStyleClass(String styleClass)
public String getTitle()
public void setTitle(String title)
public javax.faces.component.UIComponent getCaption()
getCaption in class AbstractDataGridpublic void setCaption(javax.faces.component.UIComponent facet)
public javax.faces.component.UIComponent getFooter()
getFooter in class AbstractDataGridpublic void setFooter(javax.faces.component.UIComponent facet)
public javax.faces.component.UIComponent getNoData()
getNoData in class AbstractDataGridpublic void setNoData(javax.faces.component.UIComponent facet)
public javax.faces.component.UIComponent getHeader()
getHeader in class AbstractDataGridpublic void setHeader(javax.faces.component.UIComponent facet)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.