daoc.editor.ui
Class ListRootNode
java.lang.Object
daoc.editor.ui.ListRootNode
- All Implemented Interfaces:
- javax.swing.tree.TreeNode
- public class ListRootNode
- extends java.lang.Object
- implements javax.swing.tree.TreeNode
A tree node constructed from a list of children.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListRootNode
public ListRootNode(java.util.List children)
getChildAt
public javax.swing.tree.TreeNode getChildAt(int i)
- 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 n)
- 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