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
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait |
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
SimpleLayouter
public SimpleLayouter(FlatDocumentWriter theFdw)
- Default Constructor
Needs the flat document writer to access elements by ID (fast)
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:
- remove nails
- center coordinates
- move labels to default points