|
RichFaces UI Components UI 4.3.5.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.UIDataTableBase
org.richfaces.component.AbstractCollapsibleSubTable
public abstract class AbstractCollapsibleSubTable
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.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.richfaces.component.UIDataAdaptor |
---|
UIDataAdaptor.ComponentVisitor |
Field Summary | |
---|---|
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
|
Fields inherited from class org.richfaces.component.UIDataTableBase |
---|
BODY, 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 | |
---|---|
AbstractCollapsibleSubTable()
|
Method Summary | |
---|---|
void |
addCollapsibleSubTableToggleListener(org.richfaces.event.CollapsibleSubTableToggleListener listener)
|
void |
broadcast(javax.faces.event.FacesEvent event)
|
org.richfaces.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(org.richfaces.event.CollapsibleSubTableToggleListener listener)
|
void |
setBreakBefore(boolean newBreakBefore)
|
void |
setExpanded(boolean expanded)
|
void |
setIterationState(Object stateObject)
|
void |
setSortExpression(String sortExpression)
|
Methods inherited from class org.richfaces.component.UISequence |
---|
captureOrigValue, createComponentState, createFacesModel, getActualFirst, getActualRows, getFirst, getIterationStatusVar, getRelativeClientId, getRelativeRowIndex, getRowIndex, getRowKeyConverter, getRows, getValue, preEncodeBegin, restoreOrigValue, setFirst, setIterationStatusVar, setRows, 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, 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
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
Constructor Detail |
---|
public AbstractCollapsibleSubTable()
Method Detail |
---|
public boolean isExpanded()
isExpanded
in interface org.richfaces.component.Expandable
public void setExpanded(boolean expanded)
setExpanded
in interface org.richfaces.component.Expandable
public abstract String getExpandMode()
public void broadcast(javax.faces.event.FacesEvent event) throws javax.faces.event.AbortProcessingException
broadcast
in class UIDataAdaptor
javax.faces.event.AbortProcessingException
public boolean isBreakBefore()
public void setBreakBefore(boolean newBreakBefore)
public String getSortExpression()
public void setSortExpression(String sortExpression)
public void addCollapsibleSubTableToggleListener(org.richfaces.event.CollapsibleSubTableToggleListener listener)
addCollapsibleSubTableToggleListener
in interface org.richfaces.component.Expandable
public void removeCollapsibleSubTableToggleListener(org.richfaces.event.CollapsibleSubTableToggleListener listener)
removeCollapsibleSubTableToggleListener
in interface org.richfaces.component.Expandable
public org.richfaces.event.CollapsibleSubTableToggleListener[] getCollapsibleSubTableToggleListener()
getCollapsibleSubTableToggleListener
in interface org.richfaces.component.Expandable
public void setIterationState(Object stateObject)
setIterationState
in interface org.ajax4jsf.component.IterationStateHolder
setIterationState
in class UIDataAdaptor
public Object getIterationState()
getIterationState
in interface org.ajax4jsf.component.IterationStateHolder
getIterationState
in class UIDataAdaptor
|
RichFaces UI Components UI 4.3.5.Final | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |