Class AsyncTree
- All Implemented Interfaces:
IDynamicComponent
,IExtendedTable
,ITableRowStateHolder
,Serializable
,EventListener
,ClientBehaviorHolder
,NamingContainer
,PartialStateHolder
,StateHolder
,TransientStateHolder
,UniqueIdVendor
,ComponentSystemEventListener
,FacesListener
,SystemEventListenerHolder
- Direct Known Subclasses:
AsyncSearchResultTree
Tree that loads nodes via asynchronous requests.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.webmethods.caf.faces.component.table.html.DataTable
DataTable.ExportActionEvent, DataTable.ExportActionListener
Nested classes/interfaces inherited from interface com.webmethods.caf.faces.component.table.IExtendedTable
IExtendedTable.RowMovement
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Map<UIComponent,
Boolean> protected Boolean
static final String
Fields inherited from class com.webmethods.caf.faces.component.table.html.DataTable
content, lazyRowIndex, NO_LAZY_INDEX, rowsToCreate, rowsToDelete, rowsToMove, rowsToUpdate, saved, skipRowIndexLookup, sortIds, sortKeys, templateRowId
Fields inherited from class javax.faces.component.html.HtmlDataTable
COMPONENT_TYPE
Fields inherited from class javax.faces.component.UIData
COMPONENT_FAMILY
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 javax.faces.component.NamingContainer
SEPARATOR_CHAR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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 ofUIComponent
suppressed inputs.protected ITableContentProvider
getContentProvider
(boolean applyLazyRowIndex) Lazily gets tree-content-provider, wrapping raw value if necessary.int
int
int
boolean
True if component is ancestor or self, false otherwise.boolean
isAsync()
boolean
boolean
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) Methods inherited from class com.webmethods.caf.faces.component.tree.DataTree
getFirst, getRows, populateInitialComponents
Methods inherited from class com.webmethods.caf.faces.component.table.html.DataTable
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
Methods inherited from class javax.faces.component.html.HtmlDataTable
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, getRowClass, 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, setRowClass, setRowClasses, setRules, setStyle, setStyleClass, setSummary, setTitle, setWidth
Methods inherited from class javax.faces.component.UIData
createUniqueId, getDataModel, getFamily, getFooter, getHeader, getValue, getVar, invokeOnComponent, isRowStatePreserved, markInitialState, saveState, setDataModel, setFooter, setHeader, setRowStatePreserved, setVar, visitTree
Methods inherited from class javax.faces.component.UIComponentBase
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
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, 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 javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviors
-
Field Details
-
TYPE
- See Also:
-
m_savedSuppressed
-
m_savedVisible
-
-
Constructor Details
-
AsyncTree
public AsyncTree()
-
-
Method Details
-
decode
- Overrides:
decode
in classUIComponentBase
-
encodeBegin
Description copied from class: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.
- Overrides:
encodeBegin
in classDataTable
- Parameters:
context
- FacesContext for the current request- Throws:
IOException
- if an input/output error occurs while rendering
-
findSuppressed
Collection ofUIComponent
suppressed inputs. Never null. -
getContentProvider
Lazily gets tree-content-provider, wrapping raw value if necessary.- Overrides:
getContentProvider
in classDataTable
- Parameters:
applyLazyRowIndex
- Apply the lazy row index if it is available.
-
isAncestorOrSelf
True if component is ancestor or self, false otherwise. Null allowed. -
isAsync
public boolean isAsync() -
getInitialDepth
public int getInitialDepth() -
setInitialDepth
public void setInitialDepth(int initialDepth) -
getRefillDepth
public int getRefillDepth() -
setRefillDepth
public void setRefillDepth(int refillDepth) -
getProgressDelay
public int getProgressDelay() -
setProgressDelay
public void setProgressDelay(int progressDelay) -
isProgressFlashOnComplete
public boolean isProgressFlashOnComplete() -
setProgressFlashOnComplete
public void setProgressFlashOnComplete(boolean progressFlashOnComplete) -
getProgressMsg
-
setProgressMsg
-
isRefreshOnShow
public boolean isRefreshOnShow() -
setRefreshOnShow
public void setRefreshOnShow(boolean refreshOnShow) -
getSuppressInputs
-
setSuppressInputs
-