GraphComponent
Class GraphEdge

java.lang.Object
  extended by 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


Field Summary
(package private)  int color
           
(package private)  GraphNode destination
           
(package private)  java.awt.Color editorColor
           
(package private)  int name
           
(package private)  GraphNode source
           
(package private)  int weight
           
 
Constructor Summary
GraphEdge()
           
 
Method Summary
 void copy(GraphEdge copy)
           
 int getColor()
           
 GraphNode getDestination()
           
 java.awt.Color getEditorColor()
           
 int getName()
           
 GraphNode getSource()
           
 int getWeight()
           
 void setColor(int color)
           
 void setDestination(GraphNode d)
           
 void setEditorColor(java.awt.Color color)
           
 void setName(int name)
           
 void setSource(GraphNode s)
           
 void setVertiecs(GraphNode s, GraphNode d)
           
 void setWeight(int weight)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

int name

weight

int weight

color

int color

editorColor

java.awt.Color editorColor

source

GraphNode source

destination

GraphNode destination
Constructor Detail

GraphEdge

public GraphEdge()
Method Detail

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)