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.
-
data
- A general purpose data field.
-
data_
-
-
defaultDataTypes_
- Just change this list to change the data types.
-
head_
-
-
points_
-
-
selected
-
-
styleColors
-
-
styleLabels
-
-
styleNames
-
-
stylePatterns
-
-
tail_
-
-
Edge(Node, Node, DPoint3[], boolean)
-
-
Edge(Node, Node, Edge)
-
-
Edge(Node, Node, GMLobject)
-
-
draw(Graphics, Matrix44, boolean, boolean, boolean, int, GraphCanvas, int)
-
-
getLabel()
-
-
getLineStyle()
-
-
head()
-
-
isDummy()
-
-
points()
-
-
saveState()
-
-
setGMLvalues(GMLobject)
-
-
setLabel(String)
-
-
setLineStyle(int)
-
-
slide(Matrix44, Matrix44, int, int)
-
-
tail()
-
-
toPS(Matrix44, boolean, boolean)
-
head_
protected Node head_
tail_
protected Node tail_
points_
protected DPoint3 points_[]
selected
public boolean selected
styleNames
public static String styleNames[]
styleColors
public static Color styleColors[]
styleLabels
public static String styleLabels[]
stylePatterns
public static String stylePatterns[]
defaultDataTypes_
public static String defaultDataTypes_[]
- Just change this list to change the data types.
data_
public Hashtable data_
data
public Object data
- A general purpose data field.
Algorithms that operate on Edges can store any necessary data here.
Edge
public Edge(Node tail,
Node head,
DPoint3 points[],
boolean dummy)
Edge
public Edge(Node tail,
Node head,
Edge from)
Edge
public Edge(Node tail,
Node head,
GMLobject gml)
setGMLvalues
public void setGMLvalues(GMLobject gml)
draw
public void draw(Graphics graphics,
Matrix44 transform,
boolean inplane,
boolean directed,
boolean arrow_only,
int quality,
GraphCanvas canvas,
int which_gr)
toPS
public String toPS(Matrix44 transform,
boolean inplane,
boolean directed)
points
public DPoint3[] points()
head
public Node head()
tail
public Node tail()
isDummy
public boolean isDummy()
saveState
public void saveState()
slide
public void slide(Matrix44 moveTransform,
Matrix44 viewTransform,
int xoffs,
int yoffs)
getLabel
public String getLabel()
setLabel
public void setLabel(String label)
setLineStyle
public void setLineStyle(int line_style)
getLineStyle
public int getLineStyle()
All Packages Class Hierarchy This Package Previous Next Index