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.
-
-
Constructor Summary
Constructors Constructor Description AbstractUITreeNodeBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
encodeBegin(javax.faces.context.FacesContext facesContext)
List<Boolean>
getJunctions()
int
getLevel()
Returns the level of the tree node inside of the virtual tree.TreePath
getPath()
boolean
isFolder()
String
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
-
-
-
-
Method Detail
-
encodeBegin
public void encodeBegin(javax.faces.context.FacesContext facesContext) throws IOException
- Overrides:
encodeBegin
in classjavax.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.
-
isFolder
public boolean isFolder()
-
getPath
public TreePath getPath()
-
nodeStateId
public String nodeStateId(javax.faces.context.FacesContext facesContext)
-
-