Class SimpleLayouter

java.lang.Object
  |
  +--SimpleLayouter
All Implemented Interfaces:
Layouter

public class SimpleLayouter
extends java.lang.Object
implements Layouter

Version:
Mon Mar 19 16:11:52 2001
Author:
M. Oliver Möller

Field Summary
static long assignmentXOffset
           
static double assignmentXShift
           
static long assignmentYOffset
           
static double assignmentYShift
           
static boolean debug
           
private  FlatDocumentWriter fdw
           
private  long geoCount
          Parameter for default layout computatation
 long geoXOffset
           
 long geoYOffset
           
 long globalGeoXOffset
          x-Distance from upper left corner
 long globalGeoYOffset
          y-Distance from upper left corner
static long guardXOffset
           
static double guardXShift
           
static long guardYOffset
           
static double guardYShift
           
static long locNameXOffset
           
static long locNameYOffset
           
static boolean sanityChecks
           
static long synchronisationXOffset
           
static double synchronisationXShift
           
static long synchronisationYOffset
           
static double synchronisationYShift
           
 
Constructor Summary
SimpleLayouter(FlatDocumentWriter theFdw)
          Default Constructor
Needs the flat document writer to access elements by ID (fast)
 
Method Summary
private  void addDefaultLocationCoordinates(org.w3c.dom.Element location)
           
private  void adjustTransition(org.w3c.dom.Element trans)
          Adjust a transition:
 void layoutTemplate(org.w3c.dom.Element template)
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

globalGeoXOffset

public long globalGeoXOffset
x-Distance from upper left corner

globalGeoYOffset

public long globalGeoYOffset
y-Distance from upper left corner

geoXOffset

public long geoXOffset

geoYOffset

public long geoYOffset

locNameXOffset

public static long locNameXOffset

locNameYOffset

public static long locNameYOffset

assignmentXOffset

public static long assignmentXOffset

assignmentYOffset

public static long assignmentYOffset

assignmentXShift

public static double assignmentXShift

assignmentYShift

public static double assignmentYShift

guardXOffset

public static long guardXOffset

guardYOffset

public static long guardYOffset

guardXShift

public static double guardXShift

guardYShift

public static double guardYShift

synchronisationXOffset

public static long synchronisationXOffset

synchronisationYOffset

public static long synchronisationYOffset

synchronisationXShift

public static double synchronisationXShift

synchronisationYShift

public static double synchronisationYShift

geoCount

private long geoCount
Parameter for default layout computatation

fdw

private FlatDocumentWriter fdw

sanityChecks

public static boolean sanityChecks

debug

public static boolean debug
Constructor Detail

SimpleLayouter

public SimpleLayouter(FlatDocumentWriter theFdw)
Default Constructor
Needs the flat document writer to access elements by ID (fast)
Method Detail

layoutTemplate

public void layoutTemplate(org.w3c.dom.Element template)
                    throws java.lang.Exception
Specified by:
layoutTemplate in interface Layouter

addDefaultLocationCoordinates

private void addDefaultLocationCoordinates(org.w3c.dom.Element location)
                                    throws java.lang.Exception

adjustTransition

private void adjustTransition(org.w3c.dom.Element trans)
                       throws java.lang.Exception

Adjust a transition: