org.apache.myfaces.tobago.internal.component
Class AbstractUITreeNode

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIColumn
              extended by org.apache.myfaces.tobago.internal.component.AbstractUIColumn
                  extended by org.apache.myfaces.tobago.internal.component.AbstractUITreeNode
All Implemented Interfaces:
EventListener, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, SupportsMarkup, TreeModelBuilder, Configurable, LayoutBox
Direct Known Subclasses:
AbstractUIColumnNode, UITreeNode

public abstract class AbstractUITreeNode
extends AbstractUIColumn
implements SupportsMarkup, TreeModelBuilder, Configurable


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
AbstractUITreeNode()
           
 
Method Summary
 void addTreeExpansionListener(TreeExpansionListener listener)
          Deprecated. since 2.0.0
 void addTreeMarkedListener(TreeMarkedListener listener)
          Deprecated. since 2.0.0
 void buildTreeModelBegin(javax.faces.context.FacesContext facesContext, MixedTreeModel model)
          Deprecated. since 2.0.0
 void buildTreeModelChildren(javax.faces.context.FacesContext facesContext, MixedTreeModel model)
          Deprecated. since 2.0.0
 void buildTreeModelEnd(javax.faces.context.FacesContext facesContext, MixedTreeModel model)
          Deprecated. since 2.0.0
 void encodeBegin(javax.faces.context.FacesContext facesContext)
           
 int getDepth()
          Deprecated. since 2.0.0
 List<Boolean> getJunctions()
           
 int getLevel()
          Returns the level of the tree node inside of the virtual tree.
 TreePath getPath()
           
protected  TreeNode getRowData()
          Deprecated. since 2.0.0
 javax.faces.el.MethodBinding getTreeExpansionListener()
          Deprecated. since 2.0.0
 TreeExpansionListener[] getTreeExpansionListeners()
          Deprecated. since 2.0.0
 javax.faces.el.MethodBinding getTreeMarkedListener()
          Deprecated. since 2.0.0
 TreeMarkedListener[] getTreeMarkedListeners()
          Deprecated. since 2.0.0
 boolean isExpanded()
          Deprecated. since 2.0.0
 boolean isFolder()
           
 boolean isHasNextSibling()
          Deprecated. since 2.0.0
 boolean isMarked()
          Deprecated. since 2.0.0
 boolean isSelected()
          Deprecated. since 2.0.0
 String nodeStateId(javax.faces.context.FacesContext facesContext)
           
 void removeStateChangeListener(TreeExpansionListener listener)
          Deprecated. since 2.0.0
 void removeStateChangeListener(TreeMarkedListener listener)
          Deprecated. since 2.0.0
 void setDepth(int depth)
          Deprecated. since 2.0.0
 void setExpanded(boolean expanded)
          Deprecated. since 2.0.0
 void setFolder(boolean folder)
          Deprecated. since 2.0.0
 void setHasNextSibling(boolean hasNextSibling)
          Deprecated. since 2.0.0
 void setJunctions(List<Boolean> junctions)
          Deprecated. since 2.0.0
 void setMarked(boolean b)
          Deprecated. since 2.0.0
 void setPath(TreePath path)
          Deprecated. since 2.0.0
 void setSelected(boolean selected)
          Deprecated. since 2.0.0
 void setTreeExpansionListener(javax.faces.el.MethodBinding treeExpansionListener)
          Deprecated. since 2.0.0
 void setTreeMarkedListener(javax.faces.el.MethodBinding treeMarkedListener)
          Deprecated. since 2.0.0
 
Methods inherited from class org.apache.myfaces.tobago.internal.component.AbstractUIColumn
getWidth, 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.SupportsMarkup
getCurrentMarkup, getMarkup, setCurrentMarkup, setMarkup
 
Methods inherited from interface org.apache.myfaces.tobago.config.Configurable
getCurrentMarkup, getRendererType
 
Methods inherited from interface org.apache.myfaces.tobago.layout.LayoutBox
getBorderBottom, getBorderLeft, getBorderRight, getBorderTop, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, setBorderBottom, setBorderLeft, setBorderRight, setBorderTop, setPaddingBottom, setPaddingLeft, setPaddingRight, setPaddingTop
 

Constructor Detail

AbstractUITreeNode

public AbstractUITreeNode()
Method Detail

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)

getRowData

@Deprecated
protected TreeNode getRowData()
Deprecated. since 2.0.0


buildTreeModelBegin

@Deprecated
public void buildTreeModelBegin(javax.faces.context.FacesContext facesContext,
                                           MixedTreeModel model)
Deprecated. since 2.0.0

Specified by:
buildTreeModelBegin in interface TreeModelBuilder

buildTreeModelChildren

@Deprecated
public void buildTreeModelChildren(javax.faces.context.FacesContext facesContext,
                                              MixedTreeModel model)
Deprecated. since 2.0.0

Specified by:
buildTreeModelChildren in interface TreeModelBuilder

buildTreeModelEnd

@Deprecated
public void buildTreeModelEnd(javax.faces.context.FacesContext facesContext,
                                         MixedTreeModel model)
Deprecated. since 2.0.0

Specified by:
buildTreeModelEnd in interface TreeModelBuilder

getDepth

@Deprecated
public int getDepth()
Deprecated. since 2.0.0


setDepth

@Deprecated
public void setDepth(int depth)
Deprecated. since 2.0.0


setFolder

@Deprecated
public void setFolder(boolean folder)
Deprecated. since 2.0.0


setPath

@Deprecated
public void setPath(TreePath path)
Deprecated. since 2.0.0


setJunctions

@Deprecated
public void setJunctions(List<Boolean> junctions)
Deprecated. since 2.0.0


isHasNextSibling

@Deprecated
public boolean isHasNextSibling()
Deprecated. since 2.0.0


setHasNextSibling

@Deprecated
public void setHasNextSibling(boolean hasNextSibling)
Deprecated. since 2.0.0


getTreeExpansionListener

@Deprecated
public javax.faces.el.MethodBinding getTreeExpansionListener()
Deprecated. since 2.0.0


setTreeExpansionListener

@Deprecated
public void setTreeExpansionListener(javax.faces.el.MethodBinding treeExpansionListener)
Deprecated. since 2.0.0


addTreeExpansionListener

@Deprecated
public void addTreeExpansionListener(TreeExpansionListener listener)
Deprecated. since 2.0.0


getTreeExpansionListeners

@Deprecated
public TreeExpansionListener[] getTreeExpansionListeners()
Deprecated. since 2.0.0


removeStateChangeListener

@Deprecated
public void removeStateChangeListener(TreeExpansionListener listener)
Deprecated. since 2.0.0


getTreeMarkedListener

@Deprecated
public javax.faces.el.MethodBinding getTreeMarkedListener()
Deprecated. since 2.0.0


setTreeMarkedListener

@Deprecated
public void setTreeMarkedListener(javax.faces.el.MethodBinding treeMarkedListener)
Deprecated. since 2.0.0


addTreeMarkedListener

@Deprecated
public void addTreeMarkedListener(TreeMarkedListener listener)
Deprecated. since 2.0.0


getTreeMarkedListeners

@Deprecated
public TreeMarkedListener[] getTreeMarkedListeners()
Deprecated. since 2.0.0


removeStateChangeListener

@Deprecated
public void removeStateChangeListener(TreeMarkedListener listener)
Deprecated. since 2.0.0


isMarked

@Deprecated
public boolean isMarked()
Deprecated. since 2.0.0


setMarked

@Deprecated
public void setMarked(boolean b)
Deprecated. since 2.0.0


isExpanded

@Deprecated
public boolean isExpanded()
Deprecated. since 2.0.0


setExpanded

@Deprecated
public void setExpanded(boolean expanded)
Deprecated. since 2.0.0


isSelected

@Deprecated
public boolean isSelected()
Deprecated. since 2.0.0


setSelected

@Deprecated
public void setSelected(boolean selected)
Deprecated. since 2.0.0



Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.