RichFaces Showcase 4.2.1.CR1

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:
Serializable, TreeNode

public class Company
extends NamedNode
implements TreeNode

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.richfaces.demo.tree.model.NamedNode
name, type
 
Constructor Summary
Company()
           
 
Method Summary
 Enumeration children()
           
 boolean getAllowsChildren()
           
 List<CD> getCds()
           
 TreeNode getChildAt(int childIndex)
           
 int getChildCount()
           
 Country getCountry()
           
 int getIndex(TreeNode node)
           
 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 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

setParent

public void setParent(Country country)

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

getCountry

public Country getCountry()

setCountry

public void setCountry(Country country)

getCds

public List<CD> getCds()

RichFaces Showcase 4.2.1.CR1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.