GraphComponent
Class GraphEdge
java.lang.Object
GraphComponent.GraphEdge
public class GraphEdge
- extends java.lang.Object
Title: GraphDrawing
Description: Bangladesh University of engineering and technology
Copyright: Copyright (c) 2008
Company: Bangladesh University of engineering and technology
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
int name
weight
int weight
color
int color
editorColor
java.awt.Color editorColor
source
GraphNode source
destination
GraphNode destination
GraphEdge
public GraphEdge()
setName
public void setName(int name)
setWeight
public void setWeight(int weight)
setColor
public void setColor(int color)
setEditorColor
public void setEditorColor(java.awt.Color color)
setSource
public void setSource(GraphNode s)
setDestination
public void setDestination(GraphNode d)
setVertiecs
public void setVertiecs(GraphNode s,
GraphNode d)
getName
public int getName()
getWeight
public int getWeight()
getColor
public int getColor()
getEditorColor
public java.awt.Color getEditorColor()
getSource
public GraphNode getSource()
getDestination
public GraphNode getDestination()
copy
public void copy(GraphEdge copy)