net.ogdf.lib
Class GraphAttributes

java.lang.Object
  extended by net.ogdf.lib.GraphAttributes
Direct Known Subclasses:
UMLGraph

public class GraphAttributes
extends Object

Rating red

Field Summary
static int edgeArrow
           
static int edgeColor
           
static int edgeDoubleWeight
           
static int edgeGraphics
           
static int edgeIntWeight
           
static int edgeLabel
           
static int edgeStyle
           
static int edgeSubGraph
           
static int edgeType
           
static int nodeColor
           
static int nodeGraphics
           
static int nodeId
           
static int nodeLabel
           
static int nodeLevel
           
static int nodeStyle
           
static int nodeTemplate
           
static int nodeType
           
protected  boolean swigCMemOwn
           
 
Constructor Summary
  GraphAttributes(Graph G)
           
  GraphAttributes(Graph G, int initAttributes)
           
protected GraphAttributes(long cPtr, boolean cMemoryOwn)
           
 
Method Summary
 void addNodeCenter2Bends(int mode)
           
 DPolyline bends(EdgeElement arg0)
           
 DRect boundingBox()
           
 void delete()
           
protected  void finalize()
           
protected static long getCPtr(GraphAttributes obj)
           
 Graph.EdgeType getEdgeType(EdgeElement e)
           
 double getNodeHeight(NodeElement n)
           
 double getNodeWidth(NodeElement n)
           
 double getNodeX(NodeElement n)
           
 double getNodeY(NodeElement n)
           
 void setEdgeType(EdgeElement e, Graph.EdgeType type)
           
 void setNodeHeight(NodeElement n, double h)
           
 void setNodeWidth(NodeElement n, double w)
           
 void setNodeX(NodeElement n, double a)
           
 void setNodeY(NodeElement n, double b)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

swigCMemOwn

protected boolean swigCMemOwn

nodeGraphics

public static final int nodeGraphics
See Also:
Constant Field Values

edgeGraphics

public static final int edgeGraphics
See Also:
Constant Field Values

nodeLevel

public static final int nodeLevel
See Also:
Constant Field Values

edgeIntWeight

public static final int edgeIntWeight
See Also:
Constant Field Values

edgeDoubleWeight

public static final int edgeDoubleWeight
See Also:
Constant Field Values

edgeLabel

public static final int edgeLabel
See Also:
Constant Field Values

nodeLabel

public static final int nodeLabel
See Also:
Constant Field Values

edgeType

public static final int edgeType
See Also:
Constant Field Values

nodeType

public static final int nodeType
See Also:
Constant Field Values

nodeColor

public static final int nodeColor
See Also:
Constant Field Values

nodeId

public static final int nodeId
See Also:
Constant Field Values

edgeArrow

public static final int edgeArrow
See Also:
Constant Field Values

edgeColor

public static final int edgeColor
See Also:
Constant Field Values

edgeStyle

public static final int edgeStyle
See Also:
Constant Field Values

nodeStyle

public static final int nodeStyle
See Also:
Constant Field Values

nodeTemplate

public static final int nodeTemplate
See Also:
Constant Field Values

edgeSubGraph

public static final int edgeSubGraph
See Also:
Constant Field Values
Constructor Detail

GraphAttributes

protected GraphAttributes(long cPtr,
                          boolean cMemoryOwn)

GraphAttributes

public GraphAttributes(Graph G,
                       int initAttributes)

GraphAttributes

public GraphAttributes(Graph G)
Method Detail

getCPtr

protected static long getCPtr(GraphAttributes obj)

finalize

protected void finalize()
Overrides:
finalize in class Object

delete

public void delete()

bends

public DPolyline bends(EdgeElement arg0)

addNodeCenter2Bends

public void addNodeCenter2Bends(int mode)

boundingBox

public DRect boundingBox()

setNodeWidth

public void setNodeWidth(NodeElement n,
                         double w)

setNodeHeight

public void setNodeHeight(NodeElement n,
                          double h)

setNodeX

public void setNodeX(NodeElement n,
                     double a)

setNodeY

public void setNodeY(NodeElement n,
                     double b)

setEdgeType

public void setEdgeType(EdgeElement e,
                        Graph.EdgeType type)

getNodeWidth

public double getNodeWidth(NodeElement n)

getNodeHeight

public double getNodeHeight(NodeElement n)

getNodeX

public double getNodeX(NodeElement n)

getNodeY

public double getNodeY(NodeElement n)

getEdgeType

public Graph.EdgeType getEdgeType(EdgeElement e)