Class EDU.auburn.VGJ.graph.Edge
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class EDU.auburn.VGJ.graph.Edge

java.lang.Object
   |
   +----EDU.auburn.VGJ.graph.Edge

public class Edge
extends Object
A class for representing a graph edge.

Here is the source.

Variable Index

 o data
A general purpose data field.
 o data_
 o defaultDataTypes_
Just change this list to change the data types.
 o head_
 o points_
 o selected
 o styleColors
 o styleLabels
 o styleNames
 o stylePatterns
 o tail_

Constructor Index

 o Edge(Node, Node, DPoint3[], boolean)
 o Edge(Node, Node, Edge)
 o Edge(Node, Node, GMLobject)

Method Index

 o draw(Graphics, Matrix44, boolean, boolean, boolean, int, GraphCanvas, int)
 o getLabel()
 o getLineStyle()
 o head()
 o isDummy()
 o points()
 o saveState()
 o setGMLvalues(GMLobject)
 o setLabel(String)
 o setLineStyle(int)
 o slide(Matrix44, Matrix44, int, int)
 o tail()
 o toPS(Matrix44, boolean, boolean)

Variables

 o head_
  protected Node head_
 o tail_
  protected Node tail_
 o points_
  protected DPoint3 points_[]
 o selected
  public boolean selected
 o styleNames
  public static String styleNames[]
 o styleColors
  public static Color styleColors[]
 o styleLabels
  public static String styleLabels[]
 o stylePatterns
  public static String stylePatterns[]
 o defaultDataTypes_
  public static String defaultDataTypes_[]
Just change this list to change the data types.
 o data_
  public Hashtable data_
 o data
  public Object data
A general purpose data field. Algorithms that operate on Edges can store any necessary data here.

Constructors

 o Edge
  public Edge(Node tail,
              Node head,
              DPoint3 points[],
              boolean dummy)
 o Edge
  public Edge(Node tail,
              Node head,
              Edge from)
 o Edge
  public Edge(Node tail,
              Node head,
              GMLobject gml)

Methods

 o setGMLvalues
  public void setGMLvalues(GMLobject gml)
 o draw
  public void draw(Graphics graphics,
                   Matrix44 transform,
                   boolean inplane,
                   boolean directed,
                   boolean arrow_only,
                   int quality,
                   GraphCanvas canvas,
                   int which_gr)
 o toPS
  public String toPS(Matrix44 transform,
                     boolean inplane,
                     boolean directed)
 o points
  public DPoint3[] points()
 o head
  public Node head()
 o tail
  public Node tail()
 o isDummy
  public boolean isDummy()
 o saveState
  public void saveState()
 o slide
  public void slide(Matrix44 moveTransform,
                    Matrix44 viewTransform,
                    int xoffs,
                    int yoffs)
 o getLabel
  public String getLabel()
 o setLabel
  public void setLabel(String label)
 o setLineStyle
  public void setLineStyle(int line_style)
 o getLineStyle
  public int getLineStyle()

All Packages  Class Hierarchy  This Package  Previous  Next  Index