org.richfaces.demo.tree
Class Library
java.lang.Object
org.richfaces.demo.tree.Library
- All Implemented Interfaces:
- Serializable, org.richfaces.model.TreeNode
public class Library
- extends Object
- implements org.richfaces.model.TreeNode
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Library
public Library()
addArtist
public void addArtist(Artist artist)
addChild
public void addChild(Object identifier,
org.richfaces.model.TreeNode child)
- Specified by:
addChild in interface org.richfaces.model.TreeNode
getChild
public org.richfaces.model.TreeNode getChild(Object id)
- Specified by:
getChild in interface org.richfaces.model.TreeNode
getChildren
public Iterator getChildren()
- Specified by:
getChildren in interface org.richfaces.model.TreeNode
getData
public Object getData()
- Specified by:
getData in interface org.richfaces.model.TreeNode
getParent
public org.richfaces.model.TreeNode getParent()
- Specified by:
getParent in interface org.richfaces.model.TreeNode
isLeaf
public boolean isLeaf()
- Specified by:
isLeaf in interface org.richfaces.model.TreeNode
removeChild
public void removeChild(Object id)
- Specified by:
removeChild in interface org.richfaces.model.TreeNode
setData
public void setData(Object data)
- Specified by:
setData in interface org.richfaces.model.TreeNode
setParent
public void setParent(org.richfaces.model.TreeNode parent)
- Specified by:
setParent in interface org.richfaces.model.TreeNode
getType
public String getType()
getState1
public Object getState1()
setState1
public void setState1(Object state1)
getState2
public Object getState2()
setState2
public void setState2(Object state2)
walk
public void walk(org.richfaces.model.TreeNode node,
List<org.richfaces.model.TreeNode> appendTo,
Class<? extends org.richfaces.model.TreeNode> type)
getLibraryAsList
public ArrayList getLibraryAsList()
Copyright © 2007-2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.