com.ihr.xbrl.dts
Class ConceptHeader

java.lang.Object
  extended by com.ihr.xbrl.dts.ConceptHeader

public class ConceptHeader
extends java.lang.Object

Author:
Ignacio

Constructor Summary
ConceptHeader(ConceptHeader parent, XBRLTreeNode el)
          Creates a new concept in the header of the table
 
Method Summary
 void addChild(ConceptHeader child)
           
 short findNodeAndGetCol(javax.swing.tree.MutableTreeNode node)
           
 ConceptHeader[] getChildren()
           
 short getCol()
           
 short getLength()
          Count the number of physical cells that are required to represent this header expanded to all his children elements.
 int getLevelsDown()
           
 XBRLTreeNode getNode()
           
 ConceptHeader getParent()
           
 ConceptHeader getRoot()
          Returns the first node in the tree
 void setColNumbers(short prevCols)
           
 void setRowNumbers(int i)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConceptHeader

public ConceptHeader(ConceptHeader parent,
                     XBRLTreeNode el)
Creates a new concept in the header of the table

Parameters:
parent - the parent ConceptHeader if any or null if this is the root
Method Detail

getNode

public XBRLTreeNode getNode()

setRowNumbers

public void setRowNumbers(int i)
Parameters:
i -

getParent

public ConceptHeader getParent()
Returns:
ConceptHeader

getRoot

public ConceptHeader getRoot()
Returns the first node in the tree

Returns:
ConceptHeader

getLength

public short getLength()
Count the number of physical cells that are required to represent this header expanded to all his children elements. Each element will have its own cell.

Returns:
int

getLevelsDown

public int getLevelsDown()

findNodeAndGetCol

public short findNodeAndGetCol(javax.swing.tree.MutableTreeNode node)
Parameters:
node - XBRLTreeNode
Returns:
short

setColNumbers

public void setColNumbers(short prevCols)

addChild

public void addChild(ConceptHeader child)

getChildren

public ConceptHeader[] getChildren()

getCol

public short getCol()


Copyright 2006-2009 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa