Interface PivotHeaderNode

All Known Implementing Classes:
SimplePivotHeaderNode

public interface PivotHeaderNode
The representation of a node in row/column header tree.
Author:
simonpai
  • Method Details

    • getTree

      PivotHeaderTree getTree()
      Returns the tree of the node.
      See Also:
    • getParent

      PivotHeaderNode getParent()
      Returns the parent of the node.
    • getChildren

      List<? extends PivotHeaderNode> getChildren()
      Returns the children of the node.
    • getDepth

      int getDepth()
      Returns the depth of the node, 0 if root.
    • isLeaf

      boolean isLeaf()
      Returns true if the node has no child.
    • getChild

      PivotHeaderNode getChild(Object key)
      Find child by node key.
      Returns:
      null if not found.
    • getSize

      int getSize(boolean asIfOpen)
      TODO
    • getSubtotalCount

      int getSubtotalCount(boolean asIfOpen)
      TODO
    • getKey

      Object getKey()
      Return the key of node.
    • getField

      PivotField getField()
      Return the corresponding field of the node
    • isOpen

      boolean isOpen()
      Returns true is the node is open.
    • setOpen

      void setOpen(boolean open)
      Set the open state of the node.