All Packages Class Hierarchy This Package Previous Next Index
Class relaaja.netlayout.VGJ.Edge
java.lang.Object
|
+----relaaja.netlayout.VGJ.Edge
- public class Edge
- extends Object
A class for representing a graph edge.
Here is the source.
- Author:
- Larry Barowski
-
data
- A general purpose data field.
-
data_
-
-
dataTypes
- Just change this list to change the data types.
-
dummy_
-
-
head_
-
-
label_
-
-
lineStyle_
-
-
oldpoints_
-
-
points_
-
-
selected
-
-
styleColors
-
-
styleLabels
-
-
styleNames
-
-
stylePatterns
-
-
tail_
-
-
Edge(Node, Node, DPoint3[], boolean)
-
-
Edge(Node, Node, Edge)
-
-
arrowPS_(DPoint3, DPoint3)
-
-
drawArrow_(Graphics, DPoint3, DPoint3)
-
-
getDataVals()
-
-
getLabel()
-
-
getLineStyle()
-
-
head()
-
-
isDummy()
-
-
points()
-
-
PSnum_(double)
-
-
psString_(String)
-
-
saveState()
-
-
setDataVals(String[])
-
-
setLabel(String)
-
-
setLineStyle(int)
-
-
tail()
-
head_
protected Node head_
tail_
protected Node tail_
points_
protected DPoint3 points_[]
oldpoints_
private DPoint3 oldpoints_[]
dummy_
private boolean dummy_
selected
public boolean selected
label_
private String label_
lineStyle_
private int lineStyle_
styleNames
public static String styleNames[]
styleColors
public static Color styleColors[]
styleLabels
public static String styleLabels[]
stylePatterns
public static String stylePatterns[]
dataTypes
public static String dataTypes[]
- Just change this list to change the data types.
data_
private String 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)
drawArrow_
private void drawArrow_(Graphics graphics,
DPoint3 p1,
DPoint3 p2)
psString_
private StringBuffer psString_(String source)
arrowPS_
private String arrowPS_(DPoint3 p1,
DPoint3 p2)
PSnum_
private String PSnum_(double num)
points
public DPoint3[] points()
head
public Node head()
tail
public Node tail()
isDummy
public boolean isDummy()
saveState
public void saveState()
getLabel
public String getLabel()
setLabel
public void setLabel(String label)
setLineStyle
public void setLineStyle(int line_style)
getLineStyle
public int getLineStyle()
setDataVals
public void setDataVals(String data_vals[])
getDataVals
public String[] getDataVals()
All Packages Class Hierarchy This Package Previous Next Index