y25.layout
Class Layouter25DAdapter

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

public class Layouter25DAdapter
extends Object
implements Layouter25D

Applies a 2D Layouter to all Graphs inside a LayeredLayoutGraph individually.


Constructor Summary
Layouter25DAdapter(Layouter layouter)
          Creates an instance of Layouter25DAdapter that uses the given 2D layouter.
 
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

Layouter25DAdapter

public Layouter25DAdapter(Layouter layouter)
Creates an instance of Layouter25DAdapter that uses the given 2D layouter.

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