org.drools.visualize
Class ReteooLayout

java.lang.Object
  extended byAbstractLayout
      extended byorg.drools.visualize.ReteooLayout

public class ReteooLayout
extends AbstractLayout

See Also:
Serialized Form

Field Summary
static java.lang.String COORDS
           
 
Constructor Summary
ReteooLayout(Graph g, VertexFunctions vertexFunctions, RowList rowList)
           
 
Method Summary
 void advancePositions()
           
protected  void computeSize()
           
 int getColumnWidth()
           
 Coordinates getCoordinates(ArchetypeVertex vertex)
           
 int getPreferredHeight()
           
 int getPreferredWidth()
           
 int getRowHeight()
           
 VertexFunctions getVertexFunctions()
           
 double getX(Vertex vertex)
           
 double getY(Vertex vertex)
           
 boolean incrementsAreDone()
           
protected  void initialize_local_vertex(Vertex vertex)
           
protected  void initialize_local()
           
 boolean isIncremental()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COORDS

public static final java.lang.String COORDS
See Also:
Constant Field Values
Constructor Detail

ReteooLayout

public ReteooLayout(Graph g,
                    VertexFunctions vertexFunctions,
                    RowList rowList)
Method Detail

getVertexFunctions

public VertexFunctions getVertexFunctions()

getColumnWidth

public int getColumnWidth()

getRowHeight

public int getRowHeight()

getPreferredWidth

public int getPreferredWidth()

getPreferredHeight

public int getPreferredHeight()

computeSize

protected void computeSize()

initialize_local_vertex

protected void initialize_local_vertex(Vertex vertex)

getX

public double getX(Vertex vertex)

getY

public double getY(Vertex vertex)

getCoordinates

public Coordinates getCoordinates(ArchetypeVertex vertex)

advancePositions

public void advancePositions()

isIncremental

public boolean isIncremental()

incrementsAreDone

public boolean incrementsAreDone()

initialize_local

protected void initialize_local()