Class BaseTreeControl

All Implemented Interfaces:
IDynamicComponent, IExtendedColumn, ITableRowStateHolder, Serializable, EventListener, PartialStateHolder, StateHolder, TransientStateHolder, ComponentSystemEventListener, FacesListener, SystemEventListenerHolder

public class BaseTreeControl extends HtmlTableColumn
Tree-toggle control.
See Also:
  • Field Details

    • TYPE

      public static final String TYPE
      See Also:
    • m_submittedUseUnopen

      protected transient boolean m_submittedUseUnopen
    • m_submittedOpenIds

      protected transient Collection<String> m_submittedOpenIds
  • Constructor Details

    • BaseTreeControl

      public BaseTreeControl()
  • Method Details

    • restoreState

      public void restoreState(FacesContext context, Object state)
      Description copied from class: HtmlTableColumn
      Override to workaround a NPE while restoring the system event listeners
      Specified by:
      restoreState in interface StateHolder
      Overrides:
      restoreState in class HtmlTableColumn
    • isNowrap

      public boolean isNowrap()
      Override to change the default value
      Specified by:
      isNowrap in interface IExtendedColumn
      Overrides:
      isNowrap in class BaseExtendedColumn
    • getTableRowState

      public Object getTableRowState()
      Gets this control's per-row state.
      Specified by:
      getTableRowState in interface ITableRowStateHolder
      Overrides:
      getTableRowState in class BaseExtendedColumn
    • setTableRowState

      public void setTableRowState(Object o)
      Sets this control's per-row state.
      Specified by:
      setTableRowState in interface ITableRowStateHolder
      Overrides:
      setTableRowState in class BaseExtendedColumn
    • applySubmittedValues

      public void applySubmittedValues()
      Applies the submitted values to this tree's open state.
    • getCollapseAllIcon

      public String getCollapseAllIcon()
    • setCollapseAllIcon

      public void setCollapseAllIcon(String collapseAllIcon)
    • getCollapseIcon

      public String getCollapseIcon()
    • setCollapseIcon

      public void setCollapseIcon(String collapseIcon)
    • getExpandAllIcon

      public String getExpandAllIcon()
    • setExpandAllIcon

      public void setExpandAllIcon(String expandAllIcon)
    • getExpandIcon

      public String getExpandIcon()
    • setExpandIcon

      public void setExpandIcon(String expandIcon)
    • getLoadingIcon

      public String getLoadingIcon()
    • setLoadingIcon

      public void setLoadingIcon(String loadingIcon)
    • getLeafIcon

      public String getLeafIcon()
    • setLeafIcon

      public void setLeafIcon(String leafIcon)
    • getLineBottomIcon

      public String getLineBottomIcon()
    • setLineBottomIcon

      public void setLineBottomIcon(String lineBottomIcon)
    • getLineIcon

      public String getLineIcon()
    • setLineIcon

      public void setLineIcon(String lineIcon)
    • getLineNoneIcon

      public String getLineNoneIcon()
    • setLineNoneIcon

      public void setLineNoneIcon(String lineNoneIcon)
    • getLineTopIcon

      public String getLineTopIcon()
    • setLineTopIcon

      public void setLineTopIcon(String lineTopIcon)
    • isShowSortLink

      public boolean isShowSortLink()
    • setShowSortLink

      public void setShowSortLink(boolean showSortLink)
    • getSubmittedUseUnopen

      public boolean getSubmittedUseUnopen()
    • setSubmittedUseUnopen

      public void setSubmittedUseUnopen(boolean useUnopen)
    • getSubmittedOpenIds

      public Collection<String> getSubmittedOpenIds()
    • setSubmittedOpenIds

      public void setSubmittedOpenIds(Collection<String> ids)