RichFaces Showcase 4.1.0.20111101-M4

org.richfaces.demo.tree.model
Class Country

java.lang.Object
  extended by org.richfaces.demo.tree.model.NamedNode
      extended by org.richfaces.demo.tree.model.Country
All Implemented Interfaces:
Serializable, TreeNode

public class Country
extends NamedNode
implements TreeNode

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.richfaces.demo.tree.model.NamedNode
name, type
 
Constructor Summary
Country()
           
 
Method Summary
 Enumeration<Company> children()
           
 boolean getAllowsChildren()
           
 TreeNode getChildAt(int childIndex)
           
 int getChildCount()
           
 List<Company> getCompanies()
           
 int getIndex(TreeNode node)
           
 TreeNode getParent()
           
 boolean isLeaf()
           
 
Methods inherited from class org.richfaces.demo.tree.model.NamedNode
getName, getType, setName, setType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Country

public Country()
Method Detail

getChildAt

public TreeNode getChildAt(int childIndex)
Specified by:
getChildAt in interface TreeNode

getChildCount

public int getChildCount()
Specified by:
getChildCount in interface TreeNode

getParent

public TreeNode getParent()
Specified by:
getParent in interface TreeNode

getIndex

public int getIndex(TreeNode node)
Specified by:
getIndex in interface TreeNode

getAllowsChildren

public boolean getAllowsChildren()
Specified by:
getAllowsChildren in interface TreeNode

isLeaf

public boolean isLeaf()
Specified by:
isLeaf in interface TreeNode

children

public Enumeration<Company> children()
Specified by:
children in interface TreeNode

getCompanies

public List<Company> getCompanies()

RichFaces Showcase 4.1.0.20111101-M4

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.