public class AsyncTree extends DataTree
DataTable.ExportActionEvent, DataTable.ExportActionListener
IExtendedTable.RowMovement
Modifier and Type | Field and Description |
---|---|
protected Map<UIComponent,Boolean> |
m_savedSuppressed |
protected Boolean |
m_savedVisible |
static String |
TYPE |
content, lazyRowIndex, NO_LAZY_INDEX, rowsToCreate, rowsToDelete, rowsToMove, rowsToUpdate, saved, skipRowIndexLookup, sortIds, sortKeys, templateRowId
COMPONENT_TYPE
COMPONENT_FAMILY
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
SEPARATOR_CHAR
Constructor and Description |
---|
AsyncTree() |
Modifier and Type | Method and Description |
---|---|
void |
decode(FacesContext context) |
void |
encodeBegin(FacesContext context)
In addition to the default behavior, ensure that any saved per-row state
for our child input components is discarded unless it is needed to
rerender the current page with errors.
|
Collection<UIComponent> |
findSuppressed()
Collection of
UIComponent suppressed inputs. |
protected ITableContentProvider |
getContentProvider(boolean applyLazyRowIndex)
Lazily gets tree-content-provider,
wrapping raw value if necessary.
|
int |
getInitialDepth() |
int |
getProgressDelay() |
String |
getProgressMsg() |
int |
getRefillDepth() |
Collection<String> |
getSuppressInputs() |
boolean |
isAncestorOrSelf(UIComponent c)
True if component is ancestor or self, false otherwise.
|
boolean |
isAsync() |
boolean |
isProgressFlashOnComplete() |
boolean |
isRefreshOnShow() |
void |
setInitialDepth(int initialDepth) |
void |
setProgressDelay(int progressDelay) |
void |
setProgressFlashOnComplete(boolean progressFlashOnComplete) |
void |
setProgressMsg(String progressMsg) |
void |
setRefillDepth(int refillDepth) |
void |
setRefreshOnShow(boolean refreshOnShow) |
void |
setSuppressInputs(Collection<String> suppressInputs) |
getFirst, getRows, populateInitialComponents
broadcast, clearContent, clearDescendantState, convertCreatedToOriginalRowIds, convertOriginalToCreatedRowIds, filter, fromClientRowId, getCanTemplateRow, getClientId, getContentProvider, getExportSettings, getFilter, getRowCount, getRowData, getRowId, getRowIndex, getRowsToCreate, getRowsToDelete, getRowsToMove, getRowsToUpdate, getSortInfo, getTableRowState, isNestedWithinUIData, isRowAvailable, isTemplateRow, iterate, keepSaved, prepareForEncode, processColumnChild, processDecodes, processUpdates, processValidators, queueEvent, resetContent, resetRowCaches, restoreDescendantState, restoreDescendantState, restoreState, saveDescendantState, saveDescendantState, setFilter, setFirst, setLazyRowIndex, setRowById, setRowIndex, setRows, setRowsToCreate, setRowsToDelete, setRowsToMove, setRowsToUpdate, setTableRowState, setTemplateRow, setTemplateRowId, setValue, setValueBinding, setValueExpression, sort, toClientRowId, updateRowsToCreate
getBgcolor, getBodyrows, getBorder, getCaptionClass, getCaptionStyle, getCellpadding, getCellspacing, getColumnClasses, getDefaultEventName, getDir, getEventNames, getFooterClass, getFrame, getHeaderClass, getLang, getOnclick, getOndblclick, getOnkeydown, getOnkeypress, getOnkeyup, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getRole, getRowClasses, getRules, getStyle, getStyleClass, getSummary, getTitle, getWidth, setBgcolor, setBodyrows, setBorder, setCaptionClass, setCaptionStyle, setCellpadding, setCellspacing, setColumnClasses, setDir, setFooterClass, setFrame, setHeaderClass, setLang, setOnclick, setOndblclick, setOnkeydown, setOnkeypress, setOnkeyup, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setRole, setRowClasses, setRules, setStyle, setStyleClass, setSummary, setTitle, setWidth
createUniqueId, getDataModel, getFamily, getFooter, getHeader, getValue, getVar, invokeOnComponent, isRowStatePreserved, markInitialState, saveState, setDataModel, setFooter, setHeader, setRowStatePreserved, setVar, visitTree
addClientBehavior, addFacesListener, clearInitialState, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, isRendered, isTransient, processRestoreState, processSaveState, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, subscribeToEvent, unsubscribeFromEvent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addClientBehavior, getClientBehaviors
public static final String TYPE
protected transient Map<UIComponent,Boolean> m_savedSuppressed
protected transient Boolean m_savedVisible
public void decode(FacesContext context)
decode
in class UIComponentBase
public void encodeBegin(FacesContext context) throws IOException
DataTable
In addition to the default behavior, ensure that any saved per-row state for our child input components is discarded unless it is needed to rerender the current page with errors.
encodeBegin
in class DataTable
context
- FacesContext for the current requestIOException
- if an input/output error occurs while renderingpublic Collection<UIComponent> findSuppressed()
UIComponent
suppressed inputs. Never null.protected ITableContentProvider getContentProvider(boolean applyLazyRowIndex)
getContentProvider
in class DataTable
applyLazyRowIndex
- Apply the lazy row index if it is available.public boolean isAncestorOrSelf(UIComponent c)
public boolean isAsync()
public int getInitialDepth()
public void setInitialDepth(int initialDepth)
public int getRefillDepth()
public void setRefillDepth(int refillDepth)
public int getProgressDelay()
public void setProgressDelay(int progressDelay)
public boolean isProgressFlashOnComplete()
public void setProgressFlashOnComplete(boolean progressFlashOnComplete)
public String getProgressMsg()
public void setProgressMsg(String progressMsg)
public boolean isRefreshOnShow()
public void setRefreshOnShow(boolean refreshOnShow)
public Collection<String> getSuppressInputs()
public void setSuppressInputs(Collection<String> suppressInputs)