de.uni_paderborn.fujaba.layout
Class ControlFlowLayout

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

public class ControlFlowLayout
extends AbstractLayouter

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

Version:
$Revision: 1.26 $
Author:
$Author: schneider $

Field Summary
private static ControlFlowLayout 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 ControlFlowLayout()
          Constructor of class ControlFlowLayout
 
Method Summary
static ControlFlowLayout get()
          Use this method to get a reference to singleton layouter classes The class var is defined in AbstractLayouter
private  FSAObject getConcerningDisFrame(FlowActivity curFlowActivity)
          Searches in the IncrementList of the Activity
private  java.awt.Point layoutCFG(Flow flow, java.awt.Point nw)
          This method visits recursively the seq and sets the coordinates
 void reLayout(FSAContainer currentCanvas)
          UMLMethod: '+ reLayout (currentCanvas : DisResizeable) : Void'
 void reLayoutNoThrow(FSAContainer currentCanvas)
          No comment provided by developer, please add a comment to improve documentation.
 
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 ControlFlowLayout myLayouter
The children of the abstract Layouter are singletons, so define singleton instance

Constructor Detail

ControlFlowLayout

private ControlFlowLayout()
Constructor of class ControlFlowLayout

Method Detail

layoutCFG

private java.awt.Point layoutCFG(Flow flow,
                                 java.awt.Point nw)
This method visits recursively the seq and sets the coordinates

Parameters:
flow - A subclass of Flow e.g. Seq, Sel, Rep, FlowActivity in the CFG
nw - NorthWest Point
Returns:
se SouthEast Point

getConcerningDisFrame

private FSAObject getConcerningDisFrame(FlowActivity curFlowActivity)
Searches in the IncrementList of the Activity

Parameters:
curFlowActivity - The FlowActivity for the activity in the diagram
Returns:
The DisFrame in this diagram concerning the activity

get

public static ControlFlowLayout 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

reLayoutNoThrow

public void reLayoutNoThrow(FSAContainer currentCanvas)
No comment provided by developer, please add a comment to improve documentation.

Parameters:
currentCanvas - No description 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