Class HierarchicalTreeLayer.HierarchicalTreeNode

  • Enclosing class:
    HierarchicalTreeLayer

    public static class HierarchicalTreeLayer.HierarchicalTreeNode
    extends Object
    Simple node for remembering collapsed nodes. Carries also the row object for being able to update the index based coordinates in case of structural changes. Otherwise only the column and row index are of interest.
    • Field Detail

      • columnIndex

        public final int columnIndex
      • rowIndex

        public final int rowIndex
      • rowObject

        public HierarchicalWrapper rowObject
        The row object reference needed to recalculate the rowIndex on structural changes.
    • Constructor Detail

      • HierarchicalTreeNode

        public HierarchicalTreeNode​(int columnIndex,
                                    int rowIndex,
                                    HierarchicalWrapper rowObject)