y25.layout
Class CentralizerLayouter25D

java.lang.Object
  extended byy25.layout.CentralizerLayouter25D
All Implemented Interfaces:
Layouter25D

public class CentralizerLayouter25D
extends Object
implements Layouter25D

A layouter that centers all layers and adjusts their bounding boxes.


Constructor Summary
CentralizerLayouter25D()
           
 
Method Summary
 boolean canLayout(LayeredLayoutGraph llg)
          Returns true, if this Layouter25D is capable of layouting the given graph.
 void doLayout(LayeredLayoutGraph llg)
          Performs the layout on the given graph.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CentralizerLayouter25D

public CentralizerLayouter25D()
Method Detail

canLayout

public boolean canLayout(LayeredLayoutGraph llg)
Description copied from interface: Layouter25D
Returns true, if this Layouter25D is capable of layouting the given graph.

Specified by:
canLayout in interface Layouter25D

doLayout

public void doLayout(LayeredLayoutGraph llg)
Description copied from interface: Layouter25D
Performs the layout on the given graph.

Specified by:
doLayout in interface Layouter25D