public abstract class AbstractCollapsibleSubTable extends UIDataTableBase implements Column, Expandable
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.
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_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
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() |
String |
getSortExpression() |
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) |
void |
setSortExpression(String sortExpression) |
addFilteringListener, addSortingListener, columns, createExtendedDataModel, dataChildren, encodeMetaComponent, fixedChildren, getColumnClasses, getFilteringListeners, getFilterVar, getFooter, getFooterClass, getHeader, getHeaderClass, getNoData, getNoDataLabel, getOnrowclick, getOnrowdblclick, getOnrowkeydown, getOnrowkeypress, getOnrowkeyup, getOnrowmousedown, getOnrowmousemove, getOnrowmouseout, getOnrowmouseover, getOnrowmouseup, getRendersChildren, getRowClass, getRowClasses, getSortingListeners, getSortMode, getSortPriority, getStyle, getSupportedMetaComponents, hasRowChildren, isColumnFacetPresent, queueEvent, removeFilteringListener, removeSortingListener, resolveClientId, restoreChildState, substituteUnresolvedClientId, visitDataChildren, visitFixedChildren, walk
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, clearExtendedDataModel, clearInitialState, createUniqueId, doUpdate, extractKeySegment, getComponentState, getContainerClientId, getContainerClientId, getExtendedDataModel, getFamily, 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, 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, getPassThroughAttributes, getRenderer, getRendererType, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setParent, setRendered, setRendererType, setTransient, subscribeToEvent, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, pushComponentToEL, restoreTransientState, saveTransientState, setInView
public 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 Expandable
public void setExpanded(boolean expanded)
setExpanded
in interface Expandable
public abstract String getExpandMode()
public void broadcast(javax.faces.event.FacesEvent event) throws javax.faces.event.AbortProcessingException
broadcast
in class org.richfaces.component.UIDataAdaptor
javax.faces.event.AbortProcessingException
public boolean isBreakBefore()
public void setBreakBefore(boolean newBreakBefore)
public String getSortExpression()
public void setSortExpression(String sortExpression)
public void addCollapsibleSubTableToggleListener(CollapsibleSubTableToggleListener listener)
addCollapsibleSubTableToggleListener
in interface Expandable
public void removeCollapsibleSubTableToggleListener(CollapsibleSubTableToggleListener listener)
removeCollapsibleSubTableToggleListener
in interface Expandable
public CollapsibleSubTableToggleListener[] getCollapsibleSubTableToggleListener()
getCollapsibleSubTableToggleListener
in interface Expandable
public void setIterationState(Object stateObject)
setIterationState
in interface org.richfaces.ui.iteration.IterationStateHolder
setIterationState
in class org.richfaces.component.UIDataAdaptor
public Object getIterationState()
getIterationState
in interface org.richfaces.ui.iteration.IterationStateHolder
getIterationState
in class org.richfaces.component.UIDataAdaptor
Copyright © 2014 JBoss by Red Hat. All rights reserved.