samples.preview_new_graphdraw.staticlayouts
Class IterableToStaticLayout

java.lang.Object
  extended by samples.preview_new_graphdraw.AbstractLayout
      extended by samples.preview_new_graphdraw.StaticLayout
          extended by samples.preview_new_graphdraw.staticlayouts.IterableToStaticLayout
All Implemented Interfaces:
Cloneable, LayoutEmitter

public class IterableToStaticLayout
extends StaticLayout

The IterableToStaticLayout allows a graph to start fully visualized and advanced, at the cost of some time. created Apr 23, 2004

Author:
danyelf

Field Summary
protected  IterableLayout iterableLayout
           
protected  StaticLayout startingLayout
           
 
Fields inherited from class samples.preview_new_graphdraw.AbstractLayout
screenSize, visEdgeMap, visVertexMap
 
Constructor Summary
IterableToStaticLayout(StaticLayout starting, IterableLayout iter)
           
 
Method Summary
protected  VisVertex createVisVertex(Vertex v)
           
 StaticLayout initializeLocations(Dimension d, Graph g)
           
 
Methods inherited from class samples.preview_new_graphdraw.StaticLayout
createVisEdge, createVisEdges, createVisVertices, emit
 
Methods inherited from class samples.preview_new_graphdraw.AbstractLayout
getScreenSize, getVisEdge, getVisVertex, repositionLayout, setDimensions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iterableLayout

protected IterableLayout iterableLayout

startingLayout

protected StaticLayout startingLayout
Constructor Detail

IterableToStaticLayout

public IterableToStaticLayout(StaticLayout starting,
                              IterableLayout iter)
Method Detail

initializeLocations

public StaticLayout initializeLocations(Dimension d,
                                        Graph g)
Overrides:
initializeLocations in class StaticLayout

createVisVertex

protected VisVertex createVisVertex(Vertex v)
Specified by:
createVisVertex in class StaticLayout