@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_NAME
decodeVisitor, updateVisitor, validateVisitor
ATTRS_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
META_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, visitFixedChildren
captureOrigValue, createComponentState, createExtendedDataModel, createFacesModel, getActualFirst, getActualRows, getFirst, getIterationStatusVar, getRelativeClientId, getRowIndex, getRowKeyConverter, getValue, invokeOnRow, preEncodeBegin, restoreOrigValue, setFirst, setIterationStatusVar, setupVariable, setValue, setValueBinding, setValueExpression, updateState, updateState
allFixedChildren, 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, wrapEvent
addClientBehavior, 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, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, pushComponentToEL, restoreTransientState, saveTransientState, setInView
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
encodeMetaComponent
resolveClientId, substituteUnresolvedClientId
getFirst, getIterationStatusVar, getRowKeyVar, getStateVar, getValue, getVar, isKeepSaved
getRowKeyConverter
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public String getFamily()
getFamily
in class UIDataAdaptor
public String getColumnClasses()
RowColumnStyleProps
getColumnClasses
in interface RowColumnStyleProps
public void setColumnClasses(String columnClasses)
public int getElements()
AbstractDataGrid
getElements
in class AbstractDataGrid
public void setElements(int elements)
public String getFooterClass()
ColumnProps
getFooterClass
in interface ColumnProps
public void setFooterClass(String footerClass)
public String getHeaderClass()
ColumnProps
getHeaderClass
in interface ColumnProps
public void setHeaderClass(String headerClass)
public String getRowClasses()
RowColumnStyleProps
getRowClasses
in interface RowColumnStyleProps
public void setRowClasses(String rowClasses)
public int getRows()
getRows
in class AbstractDataGrid
public void setRows(int rows)
setRows
in class UISequence
public String getStyle()
CoreProps
public void setStyle(String style)
public String getStyleClass()
CoreProps
getStyleClass
in interface CoreProps
public void setStyleClass(String styleClass)
public String getTitle()
CoreProps
public void setTitle(String title)
public javax.faces.component.UIComponent getFooter()
getFooter
in class AbstractDataGrid
public void setFooter(javax.faces.component.UIComponent facet)
public javax.faces.component.UIComponent getHeader()
getHeader
in class AbstractDataGrid
public void setHeader(javax.faces.component.UIComponent facet)
public javax.faces.component.UIComponent getCaption()
getCaption
in class AbstractDataGrid
public void setCaption(javax.faces.component.UIComponent facet)
public javax.faces.component.UIComponent getNoData()
getNoData
in class AbstractDataGrid
public void setNoData(javax.faces.component.UIComponent facet)
Copyright © 2016 JBoss by Red Hat. All Rights Reserved.