org.richfaces.demo.tree.model
Class Country
java.lang.Object
org.richfaces.demo.tree.model.NamedNode
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Country
public Country()
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()
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.