public final class OrganigramHelper extends Object
| Constructor and Description |
|---|
OrganigramHelper() |
| 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
OrganigramNode for the given selection. |
static OrganigramNode |
findTreeNode(OrganigramNode searchRoot,
String rowKey)
Finds a
OrganigramNode for 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 © 2018. All rights reserved.