public class ConceptHeader
extends java.lang.Object
Constructor and Description |
---|
ConceptHeader(ConceptHeader parent,
XBRLTreeNode el)
Creates a new concept in the header of the table.
|
Modifier and Type | Method and Description |
---|---|
void |
addChild(ConceptHeader child)
Adds the child.
|
short |
findNodeAndGetCol(javax.swing.tree.MutableTreeNode node)
Find node and get col.
|
ConceptHeader[] |
getChildren()
Gets the children.
|
short |
getCol()
Gets the col.
|
short |
getLength()
Count the number of physical cells that are required to represent this header expanded
to all his children elements.
|
int |
getLevelsDown()
Gets the levels down.
|
XBRLTreeNode |
getNode()
Gets the node.
|
ConceptHeader |
getParent()
Gets the parent.
|
ConceptHeader |
getRoot()
Returns the first node in the tree.
|
void |
setColNumbers(short prevCols)
Sets the col numbers.
|
void |
setRowNumbers(int i)
Sets the row numbers.
|
public ConceptHeader(ConceptHeader parent, XBRLTreeNode el)
parent
- the parent ConceptHeader if any or null if this is the rootel
- the elpublic XBRLTreeNode getNode()
public void setRowNumbers(int i)
i
- the new row numberspublic ConceptHeader getParent()
public ConceptHeader getRoot()
public short getLength()
public int getLevelsDown()
public short findNodeAndGetCol(javax.swing.tree.MutableTreeNode node)
node
- XBRLTreeNodepublic void setColNumbers(short prevCols)
prevCols
- the new col numberspublic void addChild(ConceptHeader child)
child
- the childpublic ConceptHeader[] getChildren()
public short getCol()
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa