Class AsyncTree

All Implemented Interfaces:
IDynamicComponent, IExtendedTable, ITableRowStateHolder, Serializable, EventListener, ClientBehaviorHolder, NamingContainer, PartialStateHolder, StateHolder, TransientStateHolder, UniqueIdVendor, ComponentSystemEventListener, FacesListener, SystemEventListenerHolder
Direct Known Subclasses:
AsyncSearchResultTree

public class AsyncTree extends DataTree
Tree that loads nodes via asynchronous requests.
See Also:
  • Field Details

  • Constructor Details

    • AsyncTree

      public AsyncTree()
  • Method Details

    • decode

      public void decode(FacesContext context)
      Overrides:
      decode in class UIComponentBase
    • encodeBegin

      public void encodeBegin(FacesContext context) throws IOException
      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 class DataTable
      Parameters:
      context - FacesContext for the current request
      Throws:
      IOException - if an input/output error occurs while rendering
    • findSuppressed

      public Collection<UIComponent> findSuppressed()
      Collection of UIComponent suppressed inputs. Never null.
    • getContentProvider

      protected ITableContentProvider getContentProvider(boolean applyLazyRowIndex)
      Lazily gets tree-content-provider, wrapping raw value if necessary.
      Overrides:
      getContentProvider in class DataTable
      Parameters:
      applyLazyRowIndex - Apply the lazy row index if it is available.
    • isAncestorOrSelf

      public boolean isAncestorOrSelf(UIComponent c)
      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

      public String getProgressMsg()
    • setProgressMsg

      public void setProgressMsg(String progressMsg)
    • isRefreshOnShow

      public boolean isRefreshOnShow()
    • setRefreshOnShow

      public void setRefreshOnShow(boolean refreshOnShow)
    • getSuppressInputs

      public Collection<String> getSuppressInputs()
    • setSuppressInputs

      public void setSuppressInputs(Collection<String> suppressInputs)