Richfaces Examples: Richfaces Showcase Application 4.1.0.20110910-M2

org.richfaces.demo.tree.model
Class Company

java.lang.Object
  extended by org.richfaces.demo.tree.model.NamedNode
      extended by org.richfaces.demo.tree.model.Company
All Implemented Interfaces:
java.io.Serializable, javax.swing.tree.TreeNode

public class Company
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
Company()
           
 
Method Summary
 java.util.Enumeration children()
           
 boolean getAllowsChildren()
           
 java.util.List<CD> getCds()
           
 javax.swing.tree.TreeNode getChildAt(int childIndex)
           
 int getChildCount()
           
 Country getCountry()
           
 int getIndex(javax.swing.tree.TreeNode node)
           
 javax.swing.tree.TreeNode getParent()
           
 boolean isLeaf()
           
 void setCountry(Country country)
           
 void setParent(Country country)
           
 
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

Company

public Company()
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

setParent

public void setParent(Country country)

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 children()
Specified by:
children in interface javax.swing.tree.TreeNode

getCountry

public Country getCountry()

setCountry

public void setCountry(Country country)

getCds

public java.util.List<CD> getCds()

Richfaces Examples: Richfaces Showcase Application 4.1.0.20110910-M2

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