javax.faces.tree
Class Tree

java.lang.Object
  extended byjavax.faces.tree.Tree
All Implemented Interfaces:
java.io.Serializable

public abstract class Tree
extends java.lang.Object
implements java.io.Serializable

Tree is a container for a tree of UIComponent nodes rooted at a root node, along with associated metadata about those UIComponents. Trees have unique identifiers, which may associate them with metadata information that can be acquired from external sources, by means of a TreeFactory instance. Tree identifiers must be unique within the scope of a web application.

See Also:
Serialized Form

Constructor Summary
Tree()
           
 
Method Summary
abstract  java.lang.String getRenderKitId()
          Return the render kit identifier of the RenderKit instance (if any) associated with this Tree.
abstract  UIComponent getRoot()
          Return the root node of the component tree associated with this Tree.
abstract  java.lang.String getTreeId()
          Return the tree identifier for this Tree.
abstract  void setRenderKitId(java.lang.String renderKitId)
          Set the render kit identifier of the RenderKit instance (if any) associated with this Tree.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Tree

public Tree()
Method Detail

getRenderKitId

public abstract java.lang.String getRenderKitId()

Return the render kit identifier of the RenderKit instance (if any) associated with this Tree.


setRenderKitId

public abstract void setRenderKitId(java.lang.String renderKitId)

Set the render kit identifier of the RenderKit instance (if any) associated with this Tree.

Parameters:
renderKitId - The new RenderKit identifier, or null to disassociate this tree with any specific RenderKit instance

getRoot

public abstract UIComponent getRoot()

Return the root node of the component tree associated with this Tree.


getTreeId

public abstract java.lang.String getTreeId()

Return the tree identifier for this Tree.