|
RichFaces UI Components UI 4.2.1.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.component.UIComponent
javax.faces.component.UIComponentBase
org.richfaces.component.UIDataAdaptor
org.richfaces.component.UISequence
org.richfaces.component.AbstractDataGrid
org.richfaces.component.UIDataGrid
@Generated(value={"RichFaces CDK","4.2.1.Final"}) public class UIDataGrid
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.
Nested Class Summary | |
---|---|
protected static class |
UIDataGrid.Properties
|
Nested classes/interfaces inherited from class org.richfaces.component.UIDataAdaptor |
---|
UIDataAdaptor.ComponentVisitor |
Field Summary | |
---|---|
static String |
COMPONENT_FAMILY
|
static String |
COMPONENT_TYPE
|
Fields inherited from class org.richfaces.component.AbstractDataGrid |
---|
BODY, CAPTION_FACET_NAME, FOOTER, FOOTER_FACET_NAME, HEADER, HEADER_FACET_NAME, NODATA_FACET_NAME |
Fields inherited from class org.richfaces.component.UIDataAdaptor |
---|
decodeVisitor, updateVisitor, validateVisitor |
Fields inherited from class javax.faces.component.UIComponent |
---|
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 |
Fields inherited from interface org.richfaces.component.MetaComponentResolver |
---|
META_COMPONENT_SEPARATOR_CHAR |
Fields inherited from interface javax.faces.component.NamingContainer |
---|
SEPARATOR_CHAR |
Constructor Summary | |
---|---|
UIDataGrid()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class org.richfaces.component.AbstractDataGrid |
---|
columns, encodeMetaComponent, getColumns, resolveClientId, setColumns, substituteUnresolvedClientId, visitDataChildren, visitFixedChildren |
Methods inherited from class org.richfaces.component.UISequence |
---|
captureOrigValue, createComponentState, createExtendedDataModel, createFacesModel, getActualFirst, getActualRows, getFirst, getIterationStatusVar, getRelativeClientId, getRelativeRowIndex, getRowIndex, getRowKeyConverter, getValue, preEncodeBegin, restoreOrigValue, setFirst, setIterationStatusVar, setupVariable, setValue, setValueBinding, setValueExpression, updateState, updateState |
Methods inherited from class javax.faces.component.UIComponentBase |
---|
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 |
Methods inherited from class javax.faces.component.UIComponent |
---|
encodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, pushComponentToEL, restoreTransientState, saveTransientState, setInView |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.richfaces.component.Row |
---|
setRowKey, walk |
Field Detail |
---|
public static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
Constructor Detail |
---|
public UIDataGrid()
Method Detail |
---|
public String getFamily()
getFamily
in class UIDataAdaptor
public int getElements()
AbstractDataGrid
getElements
in class AbstractDataGrid
public void setElements(int elements)
public int getRows()
getRows
in class AbstractDataGrid
public void setRows(int rows)
setRows
in class UISequence
public 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 AbstractDataGrid
public void setCaption(javax.faces.component.UIComponent facet)
public javax.faces.component.UIComponent getFooter()
getFooter
in class AbstractDataGrid
public void setFooter(javax.faces.component.UIComponent facet)
public javax.faces.component.UIComponent getNoData()
getNoData
in class AbstractDataGrid
public void setNoData(javax.faces.component.UIComponent facet)
public javax.faces.component.UIComponent getHeader()
getHeader
in class AbstractDataGrid
public void setHeader(javax.faces.component.UIComponent facet)
|
RichFaces UI Components UI 4.2.1.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |