de.uni_paderborn.fujaba.layout
Class TreeLayout

java.lang.Object
  extended byde.uni_paderborn.fujaba.layout.AbstractLayouter
      extended byde.uni_paderborn.fujaba.layout.TreeLayout

public class TreeLayout
extends AbstractLayouter

Class 'TreeLayout' specified in class diagram 'TreeLayout.java diagram'.

Version:
$Revision: 1.22 $
Author:
$Author: schneider $

Field Summary
private static TreeLayout myLayouter
          The children of the abstract Layouter are singletons, so define singleton instance.
 
Fields inherited from class de.uni_paderborn.fujaba.layout.AbstractLayouter
 
Constructor Summary
private TreeLayout()
          Constructor of class TreeLayout
 
Method Summary
static TreeLayout get()
          Use this method to get a reference to singleton layouter classes The class var is defined in AbstractLayouter
 void reLayout(FSAContainer currentCanvas)
          UMLMethod: '+ reLayout (currentCanvas : DisResizeable) : Void'
private  void treeLayout(FSAObject currentClass, int depth, int left, int pos, java.util.Vector rowDepths)
          This function is called recursively to reLayout the displayed classes, the initial values of depth and left have to be depth = 0, left = 0 and pos = 0
 
Methods inherited from class de.uni_paderborn.fujaba.layout.AbstractLayouter
checkVisited, getChild, getFrame, getFromToFrame, getHorizDist, getLeft, getPreferredLen, getPresetAdjustment, getRevMyLayouter, getVertDist, innerLayout, isLastCondition, refreshOptions, removeYou, searchStart, setHorizDist, setLastCondition, setLeft, setPresetAdjustment, setRevMyLayouter, setVertDist
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myLayouter

private static TreeLayout myLayouter
The children of the abstract Layouter are singletons, so define singleton instance.

Constructor Detail

TreeLayout

private TreeLayout()
Constructor of class TreeLayout

Method Detail

get

public static TreeLayout get()
Use this method to get a reference to singleton layouter classes The class var is defined in AbstractLayouter

Returns:
reference to singleton instance of Layout-Classes

treeLayout

private void treeLayout(FSAObject currentClass,
                        int depth,
                        int left,
                        int pos,
                        java.util.Vector rowDepths)
                 throws java.lang.InterruptedException
This function is called recursively to reLayout the displayed classes, the initial values of depth and left have to be depth = 0, left = 0 and pos = 0

Parameters:
currentClass - No description provided
depth - No description provided
left - No description provided
pos - No description provided
rowDepths - No description provided
Throws:
java.lang.InterruptedException - Exception description not provided

reLayout

public void reLayout(FSAContainer currentCanvas)
              throws java.lang.InterruptedException
UMLMethod: '+ reLayout (currentCanvas : DisResizeable) : Void'

Specified by:
reLayout in class AbstractLayouter
Parameters:
currentCanvas - No description provided
Throws:
java.lang.InterruptedException - Exception description not provided