de.aitools.iv.graphdrawing
Class AttachmentManager

java.lang.Object
  extended by de.aitools.iv.graphdrawing.AttachmentManager

public class AttachmentManager
extends java.lang.Object

Manages the attachment of VertexDraw's for vertices.

Author:
bigben@upb.de, Frank Benteler

Method Summary
static VertexDraw getVertexDraw(Vertex vertex, Visualization visualization)
          returns the VertexDraw, which the vertex stored for the specified visualization
static void setVertexDraw(Vertex vertex, Visualization visualization, VertexDraw vertexDraw)
          sets the attachment of the vertex for the visualization to the specified vertexDraw.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getVertexDraw

public static VertexDraw getVertexDraw(Vertex vertex,
                                       Visualization visualization)
returns the VertexDraw, which the vertex stored for the specified visualization

Parameters:
vertex -
visualization -
Returns:
the VertexDraw, which the vertex stored for the specified visualization

setVertexDraw

public static void setVertexDraw(Vertex vertex,
                                 Visualization visualization,
                                 VertexDraw vertexDraw)
sets the attachment of the vertex for the visualization to the specified vertexDraw.

Parameters:
vertex - - the vertexDraw is attached to
visualization - -
vertexDraw - - the attachment