ikg.adt.tree
Class TreeShow

java.lang.Object
  extended by ikg.adt.tree.TreeShow

public final class TreeShow
extends java.lang.Object

Title: VisualBinTree Description: Visuelle Darstellung binaerer Baeume Copyright: Copyright (c) 2002 Company: LFB


Constructor Summary
TreeShow()
           
 
Method Summary
static void showTree(java.awt.Graphics g, Tree b, int l, int r, int t)
          draw the actual state of tree b
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeShow

public TreeShow()
Method Detail

showTree

public static void showTree(java.awt.Graphics g,
                            Tree b,
                            int l,
                            int r,
                            int t)
draw the actual state of tree b

Parameters:
g - the graphics environment
b - the binary tree
l - left space to the graphic window
r - right space to the graphic window
t - recursiondepth counter