public abstract class AbstractCollapsibleSubTable extends UIDataTableBase implements Column, Expandable, EventsRowProps, RowsProps, StyleProps, SequenceProps, IterationProps, TableStyleProps
The <rich:collapsibleSubTable> component acts as a child element to a <rich:dataTable> component. The <rich:collapsibleSubTable> component iterates through the child collections in the currently iterated object to create master-detail tables.
UIDataAdaptor.ComponentVisitor| Modifier and Type | Field and Description |
|---|---|
static int |
COLLAPSED_STATE |
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
static int |
EXPANDED_STATE |
static String |
MODE_AJAX |
static String |
MODE_CLIENT |
static String |
MODE_SERVER |
BODY, 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 |
|---|
AbstractCollapsibleSubTable() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCollapsibleSubTableToggleListener(CollapsibleSubTableToggleListener listener) |
void |
broadcast(javax.faces.event.FacesEvent event) |
CollapsibleSubTableToggleListener[] |
getCollapsibleSubTableToggleListener() |
abstract String |
getExpandMode()
Specifies what mode will be used to expand the sub table: client (default), ajax, server, none (can't be expanded)
|
Object |
getIterationState()
Get component state for a current iteration.
|
String |
getSortExpression() |
String |
getSortingAndFilteringRenderTargetId(javax.faces.context.FacesContext facesContext) |
boolean |
isBreakBefore() |
boolean |
isExpanded()
Determines the state of sub table: true (expanded), false (collapsed)
|
void |
removeCollapsibleSubTableToggleListener(CollapsibleSubTableToggleListener listener) |
void |
setBreakBefore(boolean newBreakBefore) |
void |
setExpanded(boolean expanded) |
void |
setIterationState(Object stateObject)
Set component state for the next iteration.
|
void |
setSortExpression(String sortExpression) |
addFilteringListener, addSortingListener, columns, createExtendedDataModel, dataChildren, encodeMetaComponent, fixedChildren, getFilteringListeners, getFilterVar, getFooter, getHeader, getNoData, getNoDataLabel, getRendersChildren, getRowClass, getSortingListeners, getSortMode, getSortPriority, getSupportedMetaComponents, hasRowChildren, isColumnFacetPresent, queueEvent, removeFilteringListener, removeSortingListener, resolveClientId, restoreChildState, substituteUnresolvedClientId, visitDataChildren, visitFixedChildren, walkcaptureOrigValue, createComponentState, createFacesModel, getActualFirst, getActualRows, getFirst, getIterationStatusVar, getRelativeClientId, getRowIndex, getRowKeyConverter, getRows, getValue, invokeOnRow, preEncodeBegin, restoreOrigValue, setFirst, setIterationStatusVar, setRows, setupVariable, setValue, setValueBinding, setValueExpression, updateState, updateStateallFixedChildren, clearExtendedDataModel, clearInitialState, createUniqueId, doUpdate, extractKeySegment, getComponentState, getContainerClientId, getContainerClientId, getExtendedDataModel, getFamily, 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, resetChildState, resetDataModel, restoreChildState, restoreState, saveChildState, saveChildState, saveState, setExtendedDataModel, setId, setKeepSaved, setRowKey, setRowKey, setRowKeyConverter, setRowKeyVar, setStateVar, setVar, visitDataChildrenMetaComponents, visitTree, walk, wrapEventaddClientBehavior, addFacesListener, decode, encodeAll, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getPassThroughAttributes, getRenderer, getRendererType, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setParent, setRendered, setRendererType, setTransientgetClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, pushComponentToEL, restoreTransientState, saveTransientState, setInView, subscribeToEvent, unsubscribeFromEventclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOnrowclick, getOnrowdblclick, getOnrowkeydown, getOnrowkeypress, getOnrowkeyup, getOnrowmousedown, getOnrowmousemove, getOnrowmouseout, getOnrowmouseover, getOnrowmouseupgetStylegetRowKeyConvertergetFirst, getIterationStatusVar, getRowKeyVar, getStateVar, getValue, getVar, isKeepSavedgetCellClass, getColumnFooterCellClass, getColumnFooterClass, getColumnHeaderCellClass, getColumnHeaderClass, getColumnHeaderFirstClass, getFirstColumnFooterClass, getFirstRowClass, getFooterCellClass, getFooterFirstClass, getHeaderCellClass, getHeaderFirstClassgetFooterClass, getHeaderClassgetColumnClasses, getRowClassespublic static final String COMPONENT_TYPE
public static final String COMPONENT_FAMILY
public static final String MODE_AJAX
public static final String MODE_SERVER
public static final String MODE_CLIENT
public static final int EXPANDED_STATE
public static final int COLLAPSED_STATE
public boolean isExpanded()
isExpanded in interface Expandablepublic void setExpanded(boolean expanded)
setExpanded in interface Expandablepublic abstract String getExpandMode()
public void broadcast(javax.faces.event.FacesEvent event)
throws javax.faces.event.AbortProcessingException
broadcast in class UIDataAdaptorjavax.faces.event.AbortProcessingExceptionpublic boolean isBreakBefore()
public void setBreakBefore(boolean newBreakBefore)
public String getSortExpression()
public void setSortExpression(String sortExpression)
public void addCollapsibleSubTableToggleListener(CollapsibleSubTableToggleListener listener)
addCollapsibleSubTableToggleListener in interface Expandablepublic void removeCollapsibleSubTableToggleListener(CollapsibleSubTableToggleListener listener)
removeCollapsibleSubTableToggleListener in interface Expandablepublic CollapsibleSubTableToggleListener[] getCollapsibleSubTableToggleListener()
getCollapsibleSubTableToggleListener in interface Expandablepublic void setIterationState(Object stateObject)
IterationStateHoldernull
value. In the second case component should reset its state to the initial.setIterationState in interface IterationStateHoldersetIterationState in class UIDataAdaptorstateObject - request-scope component state or null. Details are subject for a component implementationpublic Object getIterationState()
IterationStateHoldergetIterationState in interface IterationStateHoldergetIterationState in class UIDataAdaptorpublic String getSortingAndFilteringRenderTargetId(javax.faces.context.FacesContext facesContext)
getSortingAndFilteringRenderTargetId in class UIDataTableBaseCopyright © 2016 JBoss by Red Hat. All Rights Reserved.