Package | Description |
---|---|
com.jgraph.layout.tree |
JGraphLayout graph package which contains tree layout algorithms.
|
Modifier and Type | Class and Description |
---|---|
protected class |
OrganizationalChart.OrganizationalTreeNode
An ADT representing a node in an organisational chart structure.
|
Modifier and Type | Method and Description |
---|---|
protected JGraphTreeLayout.StandardTreeNode |
JGraphTreeLayout.getLeftMostX(JGraphTreeLayout.StandardTreeNode node)
Obtains the left most point on the sub-tree under the specified tree node
|
protected JGraphTreeLayout.StandardTreeNode |
JGraphTreeLayout.getRightMostX(JGraphTreeLayout.StandardTreeNode node)
Obtains the right most point on the sub-tree under the specified tree
node
|
protected JGraphTreeLayout.StandardTreeNode |
OrganizationalChart.getTreeNode(java.lang.Object cell)
Obtains the tree node corresponding to the specified cell
|
protected JGraphTreeLayout.StandardTreeNode |
JGraphTreeLayout.getTreeNode(java.lang.Object cell)
Obtains the tree node corresponding to the specified cell
|
Modifier and Type | Method and Description |
---|---|
void |
OrganizationalChart.OrganizationalTreeNode.addChild(JGraphTreeLayout.StandardTreeNode newChild)
Adds a new child to this parent node
|
void |
JGraphTreeLayout.StandardTreeNode.addChild(JGraphTreeLayout.StandardTreeNode newChild)
Adds a new child to this parent node
|
protected JGraphTreeLayout.StandardTreeNode |
JGraphTreeLayout.getLeftMostX(JGraphTreeLayout.StandardTreeNode node)
Obtains the left most point on the sub-tree under the specified tree node
|
protected JGraphTreeLayout.StandardTreeNode |
JGraphTreeLayout.getRightMostX(JGraphTreeLayout.StandardTreeNode node)
Obtains the right most point on the sub-tree under the specified tree
node
|
protected void |
JGraphTreeLayout.join(JGraphTreeLayout.StandardTreeNode node)
Joins nodes underneath the specified tree node
|
protected void |
OrganizationalChart.layout(JGraphTreeLayout.StandardTreeNode node)
Top-level method that performs actual layout of tree for a specific node.
|
protected void |
JGraphTreeLayout.layout(JGraphTreeLayout.StandardTreeNode node)
Top-level method that performs actual layout of tree for a specific node.
|
protected void |
JGraphTreeLayout.setLevelHeights(JGraphTreeLayout.StandardTreeNode root)
Sets the heights of the level under the specified node
|
protected void |
JGraphTreeLayout.spaceMultipleTrees(JGraphTreeLayout.StandardTreeNode root)
Ensures that the specified root is spaced far enough from previous trees
so not to overlap any cells.
|
Copyright (C) 2001-2009 JGraph Ltd. All rights reserved.