public final class OrganigramHelper extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static void | buildRowKeys(OrganigramNode node)Loops the  OrganigramNodes and generates a rowKey for each node on the basis of the parent and child index. | 
| static OrganigramNode | findTreeNode(OrganigramNode searchRoot,
            OrganigramNode selection)Finds a  OrganigramNodefor the given selection. | 
| static OrganigramNode | findTreeNode(OrganigramNode searchRoot,
            String rowKey)Finds a  OrganigramNodefor the given rowKey. | 
public static OrganigramNode findTreeNode(OrganigramNode searchRoot, String rowKey)
OrganigramNode for the given rowKey.searchRoot - The OrganigramNode to start the search.rowKey - The rowKey.OrganigramNode for the rowKey or null.public static OrganigramNode findTreeNode(OrganigramNode searchRoot, OrganigramNode selection)
OrganigramNode for the given selection.searchRoot - The OrganigramNode to start the search.selection - The selection.OrganigramNode for the selection or null.public static void buildRowKeys(OrganigramNode node)
OrganigramNodes and generates a rowKey for each node on the basis of the parent and child index.node - The root node.Copyright © 2020. All rights reserved.