org.richfaces.model
Class CacheableTreeNodeImpl<T>

java.lang.Object
  extended by org.richfaces.model.TreeNodeImpl<T>
      extended by org.richfaces.model.CacheableTreeNodeImpl<T>
All Implemented Interfaces:
java.io.Serializable, TreeNode<T>

public class CacheableTreeNodeImpl<T>
extends TreeNodeImpl<T>

This class provides the solution for "false leaves" issue of cacheable trees

Since:
3.3.1
Author:
Nick Belaevski
See Also:
Serialized Form

Constructor Summary
CacheableTreeNodeImpl()
           
 
Method Summary
 boolean isLeaf()
          Returns whether this node is leaf
 void setNotLeaf(boolean notLeaf)
           
 
Methods inherited from class org.richfaces.model.TreeNodeImpl
addChild, getChild, getChildren, getData, getParent, removeChild, setData, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheableTreeNodeImpl

public CacheableTreeNodeImpl()
Method Detail

isLeaf

public boolean isLeaf()
Description copied from interface: TreeNode
Returns whether this node is leaf

Specified by:
isLeaf in interface TreeNode<T>
Overrides:
isLeaf in class TreeNodeImpl<T>
Returns:
true if this node is leaf else returns false

setNotLeaf

public void setNotLeaf(boolean notLeaf)


Copyright © 2010. All Rights Reserved.