org.apache.cocoon.forms.formmodel.tree
Class DefaultTreeModel.DefaultTreeNode
java.lang.Object
org.apache.cocoon.forms.formmodel.tree.DefaultTreeModel.DefaultTreeNode
- All Implemented Interfaces:
- DefaultTreeModel.TreeNode
- Enclosing class:
- DefaultTreeModel
public static class DefaultTreeModel.DefaultTreeNode
- extends Object
- implements DefaultTreeModel.TreeNode
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultTreeModel.DefaultTreeNode
public DefaultTreeModel.DefaultTreeNode(Object data)
DefaultTreeModel.DefaultTreeNode
public DefaultTreeModel.DefaultTreeNode(Object data,
Map children)
getData
public Object getData()
add
public void add(String key,
DefaultTreeModel.TreeNode node)
getChildren
public Collection getChildren()
- Specified by:
getChildren
in interface DefaultTreeModel.TreeNode
isLeaf
public boolean isLeaf()
- Specified by:
isLeaf
in interface DefaultTreeModel.TreeNode
getChildKey
public String getChildKey(Object child)
- Specified by:
getChildKey
in interface DefaultTreeModel.TreeNode
getChild
public Object getChild(String key)
- Specified by:
getChild
in interface DefaultTreeModel.TreeNode
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.