com.jgraph.layout.tree
Class JGraphCompactTreeLayout.CompactTreeNode
java.lang.Object
com.jgraph.layout.tree.JGraphAbstractTreeLayout.TreeNode
com.jgraph.layout.tree.JGraphCompactTreeLayout.CompactTreeNode
- Enclosing class:
- JGraphCompactTreeLayout
protected class JGraphCompactTreeLayout.CompactTreeNode
- extends JGraphAbstractTreeLayout.TreeNode
Abstraction of node in a tree structure
Field Summary |
protected double |
offsetX
The offset of this node from the root node |
protected double |
offsetY
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
offsetX
protected double offsetX
- The offset of this node from the root node
offsetY
protected double offsetY
JGraphCompactTreeLayout.CompactTreeNode
public JGraphCompactTreeLayout.CompactTreeNode(Object cell)
- Creates a node corresponding to the specified graph cell and of the
given dimensions. Interally, the width and height are stored reversed
for a horizontal tree to reduce the processing required when laying
the tree out
- Parameters:
cell
- the corresponding graph cell
getCell
public Object getCell()
- Returns:
- the graph cell associated with this node
Copyright (C) 2001-2009 JGraph Ltd. All rights reserved.