info.aduna.linkmap.layout
Class GemLayoutManager.GemLayoutConverter

java.lang.Object
  extended by info.aduna.linkmap.layout.GemLayoutManager.GemLayoutConverter
All Implemented Interfaces:
LayoutConverter
Enclosing class:
GemLayoutManager

public static class GemLayoutManager.GemLayoutConverter
extends Object
implements LayoutConverter


Constructor Summary
GemLayoutManager.GemLayoutConverter()
           
 
Method Summary
 void getLocation(Vertex vertex, Point location)
          Copies the layout position of the specified Vertex into the specified Point.
 void setLocation(Vertex vertex, int x, int y)
          Sets the layout position of the specified Vertex to the coordinates of the specified Point.
 void translate(Vertex vertex, int dx, int dy)
          Translates the layout position of the specified Vertex over the specified distance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GemLayoutManager.GemLayoutConverter

public GemLayoutManager.GemLayoutConverter()
Method Detail

getLocation

public void getLocation(Vertex vertex,
                        Point location)
Description copied from interface: LayoutConverter
Copies the layout position of the specified Vertex into the specified Point.

Specified by:
getLocation in interface LayoutConverter

setLocation

public void setLocation(Vertex vertex,
                        int x,
                        int y)
Description copied from interface: LayoutConverter
Sets the layout position of the specified Vertex to the coordinates of the specified Point.

Specified by:
setLocation in interface LayoutConverter

translate

public void translate(Vertex vertex,
                      int dx,
                      int dy)
Description copied from interface: LayoutConverter
Translates the layout position of the specified Vertex over the specified distance.

Specified by:
translate in interface LayoutConverter


Copyright © 1997-2008 Aduna. All Rights Reserved.