public class XBRLRootNode
extends java.lang.Object
implements javax.swing.tree.TreeNode
Constructor and Description |
---|
XBRLRootNode(java.util.List<XBRLTreeRoot> roots)
Creates a new XBRLRootNode using a Collection
of XBRLTreeRoot objects.
|
Modifier and Type | Method and Description |
---|---|
java.util.Enumeration<XBRLTreeRoot> |
children()
Children.
|
boolean |
getAllowsChildren()
Gets the allows children.
|
javax.swing.tree.TreeNode |
getChildAt(int childIndex)
Gets the child at.
|
int |
getChildCount()
Gets the child count.
|
int |
getIndex(javax.swing.tree.TreeNode node)
Gets the index.
|
javax.swing.tree.TreeNode |
getParent()
Gets the parent.
|
boolean |
isLeaf()
Checks if is leaf.
|
public XBRLRootNode(java.util.List<XBRLTreeRoot> roots)
roots
- the rootspublic java.util.Enumeration<XBRLTreeRoot> children()
children
in interface javax.swing.tree.TreeNode
public boolean getAllowsChildren()
getAllowsChildren
in interface javax.swing.tree.TreeNode
public javax.swing.tree.TreeNode getChildAt(int childIndex)
getChildAt
in interface javax.swing.tree.TreeNode
childIndex
- the child indexpublic int getChildCount()
getChildCount
in interface javax.swing.tree.TreeNode
public int getIndex(javax.swing.tree.TreeNode node)
getIndex
in interface javax.swing.tree.TreeNode
node
- the nodepublic javax.swing.tree.TreeNode getParent()
getParent
in interface javax.swing.tree.TreeNode
public boolean isLeaf()
isLeaf
in interface javax.swing.tree.TreeNode
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa