com.jgraph.layout.tree
protected class OrganizationalChart.OrganizationalTreeNode extends JGraphTreeLayout.StandardTreeNode
| Field Summary | |
|---|---|
| protected boolean | verticalStyleChildren Whether or not children of this node this have vertical children |
| Constructor Summary | |
|---|---|
| OrganizationalTreeNode(Object cell) | |
| Method Summary | |
|---|---|
| void | addChild(JGraphTreeLayout.StandardTreeNode newChild)
Adds a new child to this parent node |
| boolean | isVerticalStyleChildren() |
| protected void | positionVerticalChildren(Point2D parent) |
| void | setDepth(int depth) |
| void | setPosition(Point2D parent, double levelHeight)
Sets the position of this node
|
| void | setVerticalStyleChildren(boolean verticalStyleChildren) |
Parameters: newChild the child to be added
Returns: the verticalStyleChildren
Parameters: depth the depth to set
Parameters: parent the parent of this node levelHeight the height of nodes on the same level
Parameters: verticalStyleChildren the verticalStyleChildren to set