Richfaces Examples: Richfaces Showcase Application 4.1.0.20110910-M2

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:
java.io.Serializable, javax.swing.tree.TreeNode

public class Country
extends NamedNode
implements javax.swing.tree.TreeNode

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.richfaces.demo.tree.model.NamedNode
name, type
 
Constructor Summary
Country()
           
 
Method Summary
 java.util.Enumeration<Company> children()
           
 boolean getAllowsChildren()
           
 javax.swing.tree.TreeNode getChildAt(int childIndex)
           
 int getChildCount()
           
 java.util.List<Company> getCompanies()
           
 int getIndex(javax.swing.tree.TreeNode node)
           
 javax.swing.tree.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 javax.swing.tree.TreeNode getChildAt(int childIndex)
Specified by:
getChildAt in interface javax.swing.tree.TreeNode

getChildCount

public int getChildCount()
Specified by:
getChildCount in interface javax.swing.tree.TreeNode

getParent

public javax.swing.tree.TreeNode getParent()
Specified by:
getParent in interface javax.swing.tree.TreeNode

getIndex

public int getIndex(javax.swing.tree.TreeNode node)
Specified by:
getIndex in interface javax.swing.tree.TreeNode

getAllowsChildren

public boolean getAllowsChildren()
Specified by:
getAllowsChildren in interface javax.swing.tree.TreeNode

isLeaf

public boolean isLeaf()
Specified by:
isLeaf in interface javax.swing.tree.TreeNode

children

public java.util.Enumeration<Company> children()
Specified by:
children in interface javax.swing.tree.TreeNode

getCompanies

public java.util.List<Company> getCompanies()

Richfaces Examples: Richfaces Showcase Application 4.1.0.20110910-M2

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