Eclipse Draw2d
3.1

org.eclipse.draw2d.internal.graph
Class VerticalPlacement

java.lang.Object
  extended byorg.eclipse.draw2d.internal.graph.GraphVisitor
      extended byorg.eclipse.draw2d.internal.graph.VerticalPlacement
Direct Known Subclasses:
CompoundVerticalPlacement

public class VerticalPlacement
extends GraphVisitor

Assigns the Y and Height values to the nodes in the graph. All nodes in the same row are given the same height.

Since:
2.1.2

Constructor Summary
VerticalPlacement()
           
 
Method Summary
 void visit(DirectedGraph g)
          Act on the given directed graph.
 
Methods inherited from class org.eclipse.draw2d.internal.graph.GraphVisitor
revisit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VerticalPlacement

public VerticalPlacement()
Method Detail

visit

public void visit(DirectedGraph g)
Description copied from class: GraphVisitor
Act on the given directed graph.

Specified by:
visit in class GraphVisitor
Parameters:
g - the graph

Eclipse Draw2d
3.1

Copyright (c) IBM Corp. and others 2000, 2005. All Rights Reserved.