Class AbstractUITreeNodeBase

java.lang.Object
javax.faces.component.UIComponent
javax.faces.component.UIComponentBase
javax.faces.component.UIColumn
org.apache.myfaces.tobago.internal.component.AbstractUIColumnBase
org.apache.myfaces.tobago.internal.component.AbstractUITreeNodeBase
All Implemented Interfaces:
EventListener, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, Visual
Direct Known Subclasses:
AbstractUIColumnNode, AbstractUITreeNode

public abstract class AbstractUITreeNodeBase extends AbstractUIColumnBase implements Visual
Base class for tree node.
  • Field Summary

    Fields inherited from class javax.faces.component.UIColumn

    COMPONENT_FAMILY, COMPONENT_TYPE

    Fields inherited from class javax.faces.component.UIComponent

    BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    encodeBegin(javax.faces.context.FacesContext facesContext)
     
     
    int
    Returns the level of the tree node inside of the virtual tree.
     
    boolean
     
    nodeStateId(javax.faces.context.FacesContext facesContext)
     

    Methods inherited from class org.apache.myfaces.tobago.internal.component.AbstractUIColumnBase

    isResizable

    Methods inherited from class javax.faces.component.UIColumn

    getFamily, getFooter, getHeader, getId, setFooter, setHeader

    Methods inherited from class javax.faces.component.UIComponentBase

    addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeAll, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTree

    Methods inherited from class javax.faces.component.UIComponent

    getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.myfaces.tobago.component.Visual

    getCustomClass, getMarkup, getRendererType, isPlain, setCustomClass, setMarkup
  • Constructor Details

    • AbstractUITreeNodeBase

      public AbstractUITreeNodeBase()
  • Method Details

    • encodeBegin

      public void encodeBegin(javax.faces.context.FacesContext facesContext) throws IOException
      Overrides:
      encodeBegin in class javax.faces.component.UIComponentBase
      Throws:
      IOException
    • getLevel

      public int getLevel()
      Returns the level of the tree node inside of the virtual tree. The root node has level 0. The children of the root note have level 1, and so on.
    • getJunctions

      public List<Boolean> getJunctions()
    • isFolder

      public boolean isFolder()
    • getPath

      public TreePath getPath()
    • nodeStateId

      public String nodeStateId(javax.faces.context.FacesContext facesContext)