JGraphLayout
v1.4.0.2


com.jgraph.layout.tree
Class JGraphAbstractTreeLayout.TreeNode

java.lang.Object
  extended bycom.jgraph.layout.tree.JGraphAbstractTreeLayout.TreeNode
Direct Known Subclasses:
JGraphCompactTreeLayout.CompactTreeNode, JGraphTreeLayout.StandardTreeNode
Enclosing class:
JGraphAbstractTreeLayout

protected class JGraphAbstractTreeLayout.TreeNode
extends Object

An ADT representing a node in a tree structure.


Field Summary
protected  Object cell
          The graph cell this node corresponds to
protected  double height
          The height of this node
protected  double width
          The width of this node
protected  double x
          The position location of this node
protected  double y
           
 
Constructor Summary
JGraphAbstractTreeLayout.TreeNode(Object cell)
          Creates tree node corresponding to the specified cell
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

width

protected double width
The width of this node


height

protected double height
The height of this node


x

protected double x
The position location of this node


y

protected double y

cell

protected Object cell
The graph cell this node corresponds to

Constructor Detail

JGraphAbstractTreeLayout.TreeNode

public JGraphAbstractTreeLayout.TreeNode(Object cell)
Creates tree node corresponding to the specified cell

Parameters:
cell - the cell this tree node corresponds to

JGraphLayout
v1.4.0.2


Copyright (C) 2005 JGraph.com. All rights reserved.