public abstract class UIDataTableBase extends UISequence implements org.richfaces.component.Row, org.richfaces.component.MetaComponentResolver, org.richfaces.component.MetaComponentEncoder
Modifier and Type | Class and Description |
---|---|
protected static class |
UIDataTableBase.PropertyKeys |
UIDataAdaptor.ComponentVisitor
Modifier and Type | Field and Description |
---|---|
static String |
BODY |
static String |
COMPONENT_FAMILY |
static String |
FOOTER |
static String |
FOOTER_FACET_NAME |
static String |
HEADER |
static String |
HEADER_FACET_NAME |
static String |
NODATA_FACET_NAME |
COMPONENT_TYPE, 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
Constructor and Description |
---|
UIDataTableBase() |
Modifier and Type | Method and Description |
---|---|
void |
addFilteringListener(org.richfaces.event.FilteringListener listener) |
void |
addSortingListener(org.richfaces.event.SortingListener listener) |
Iterator<javax.faces.component.UIComponent> |
columns() |
protected org.ajax4jsf.model.ExtendedDataModel<?> |
createExtendedDataModel() |
protected Iterator<javax.faces.component.UIComponent> |
dataChildren() |
void |
encodeMetaComponent(javax.faces.context.FacesContext context,
String metaComponentId) |
protected Iterator<javax.faces.component.UIComponent> |
fixedChildren() |
abstract String |
getColumnClasses()
Assigns one or more space-separated CSS class names to the columns of the table.
|
org.richfaces.event.FilteringListener[] |
getFilteringListeners() |
abstract String |
getFilterVar()
Name of the variable used in EL expression provided in filterExpression in order to decide about displaying particular
row.
|
abstract javax.faces.component.UIComponent |
getFooter()
The footer of the table
|
abstract String |
getFooterClass()
Assigns one or more space-separated CSS class names to the table footer
|
abstract javax.faces.component.UIComponent |
getHeader()
The header of the table
|
abstract String |
getHeaderClass()
Assigns one or more space-separated CSS class names to the table header
|
abstract javax.faces.component.UIComponent |
getNoData()
The content to be displayed when table contains no rows (no data provided).
|
abstract String |
getNoDataLabel()
The label to be displayed when table contains no rows (no data provided).
|
abstract String |
getOnrowclick() |
abstract String |
getOnrowdblclick() |
abstract String |
getOnrowkeydown() |
abstract String |
getOnrowkeypress() |
abstract String |
getOnrowkeyup() |
abstract String |
getOnrowmousedown() |
abstract String |
getOnrowmousemove() |
abstract String |
getOnrowmouseout() |
abstract String |
getOnrowmouseover() |
abstract String |
getOnrowmouseup() |
boolean |
getRendersChildren() |
abstract String |
getRowClass()
Assigns one or more space-separated CSS class names to the table cells
|
abstract String |
getRowClasses()
Assigns one or more space-separated CSS class names to the rows of the table.
|
org.richfaces.event.SortingListener[] |
getSortingListeners() |
abstract org.richfaces.model.SortMode |
getSortMode()
Specifies when table will be sorted according to one column (single) or multiple columns (multi).
|
abstract Collection<Object> |
getSortPriority()
Comma-separated list of column names determining priority of row sorting.
|
abstract String |
getStyle() |
static Set<String> |
getSupportedMetaComponents() |
protected boolean |
hasRowChildren() |
boolean |
isColumnFacetPresent(String facetName) |
void |
queueEvent(javax.faces.event.FacesEvent event) |
void |
removeFilteringListener(org.richfaces.event.FilteringListener listener) |
void |
removeSortingListener(org.richfaces.event.SortingListener listener) |
String |
resolveClientId(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent contextComponent,
String metaComponentId) |
protected void |
restoreChildState(javax.faces.context.FacesContext facesContext) |
String |
substituteUnresolvedClientId(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent contextComponent,
String metaComponentId) |
protected boolean |
visitDataChildren(javax.faces.component.visit.VisitContext visitContext,
javax.faces.component.visit.VisitCallback callback,
boolean visitRows) |
protected boolean |
visitFixedChildren(javax.faces.component.visit.VisitContext visitContext,
javax.faces.component.visit.VisitCallback callback) |
void |
walk(javax.faces.context.FacesContext faces,
org.ajax4jsf.model.DataVisitor visitor,
org.ajax4jsf.model.Range range,
Object argument)
Walk ( visit ) this component on all data-aware children for each row from range.
|
captureOrigValue, createComponentState, createFacesModel, getActualFirst, getActualRows, getFirst, getIterationStatusVar, getRelativeClientId, getRelativeRowIndex, getRowIndex, getRowKeyConverter, getRows, getValue, preEncodeBegin, restoreOrigValue, setFirst, setIterationStatusVar, setRows, setupVariable, setValue, setValueBinding, setValueExpression, updateState, updateState
allFixedChildren, broadcast, clearExtendedDataModel, clearInitialState, createUniqueId, doUpdate, extractKeySegment, getComponentState, getContainerClientId, getContainerClientId, getExtendedDataModel, getFamily, 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, 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, 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
public static final String COMPONENT_FAMILY
public static final String HEADER_FACET_NAME
public static final String FOOTER_FACET_NAME
public static final String NODATA_FACET_NAME
public static final String HEADER
public static final String FOOTER
public static final String BODY
public abstract javax.faces.component.UIComponent getHeader()
public abstract javax.faces.component.UIComponent getFooter()
public abstract javax.faces.component.UIComponent getNoData()
public abstract String getNoDataLabel()
public abstract String getFilterVar()
public abstract String getRowClass()
public abstract String getHeaderClass()
public abstract String getFooterClass()
public abstract String getColumnClasses()
public abstract String getRowClasses()
public abstract String getStyle()
public abstract Collection<Object> getSortPriority()
public abstract org.richfaces.model.SortMode getSortMode()
public abstract String getOnrowclick()
public abstract String getOnrowdblclick()
public abstract String getOnrowmousedown()
public abstract String getOnrowmouseup()
public abstract String getOnrowmouseover()
public abstract String getOnrowmousemove()
public abstract String getOnrowmouseout()
public abstract String getOnrowkeypress()
public abstract String getOnrowkeydown()
public abstract String getOnrowkeyup()
public Iterator<javax.faces.component.UIComponent> columns()
columns
in interface org.richfaces.component.Row
protected Iterator<javax.faces.component.UIComponent> fixedChildren()
fixedChildren
in class UIDataAdaptor
protected Iterator<javax.faces.component.UIComponent> dataChildren()
dataChildren
in class UIDataAdaptor
protected boolean hasRowChildren()
public boolean isColumnFacetPresent(String facetName)
public boolean getRendersChildren()
getRendersChildren
in class javax.faces.component.UIComponentBase
protected org.ajax4jsf.model.ExtendedDataModel<?> createExtendedDataModel()
createExtendedDataModel
in class UISequence
public void walk(javax.faces.context.FacesContext faces, org.ajax4jsf.model.DataVisitor visitor, org.ajax4jsf.model.Range range, Object argument)
faces
- visitor
- range
- argument
- public String resolveClientId(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent contextComponent, String metaComponentId)
resolveClientId
in interface org.richfaces.component.MetaComponentResolver
public String substituteUnresolvedClientId(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent contextComponent, String metaComponentId)
substituteUnresolvedClientId
in interface org.richfaces.component.MetaComponentResolver
public void encodeMetaComponent(javax.faces.context.FacesContext context, String metaComponentId) throws IOException
encodeMetaComponent
in interface org.richfaces.component.MetaComponentEncoder
IOException
protected boolean visitFixedChildren(javax.faces.component.visit.VisitContext visitContext, javax.faces.component.visit.VisitCallback callback)
visitFixedChildren
in class UIDataAdaptor
protected void restoreChildState(javax.faces.context.FacesContext facesContext)
restoreChildState
in class UIDataAdaptor
protected boolean visitDataChildren(javax.faces.component.visit.VisitContext visitContext, javax.faces.component.visit.VisitCallback callback, boolean visitRows)
visitDataChildren
in class UIDataAdaptor
public void addSortingListener(org.richfaces.event.SortingListener listener)
public void removeSortingListener(org.richfaces.event.SortingListener listener)
public void addFilteringListener(org.richfaces.event.FilteringListener listener)
public void removeFilteringListener(org.richfaces.event.FilteringListener listener)
public org.richfaces.event.FilteringListener[] getFilteringListeners()
public org.richfaces.event.SortingListener[] getSortingListeners()
public void queueEvent(javax.faces.event.FacesEvent event)
queueEvent
in class UIDataAdaptor
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.