Class GraphDrawingPack.Aggregation
All Packages    This Package    Previous    Next

Class GraphDrawingPack.Aggregation

java.lang.Object
   |
   +----GraphDrawingPack.Aggregation

public class Aggregation
extends Object
implements EdgeShapeInterface
Aggregation Edge Shape = diamond

xs
ys

Aggregation(DirEdgeDrawing)

draw(GraphCanvas, Color)
draw shape on given graph canvas
getType()
return a string which is the name of the shape
setShape()
calculate information for drawing the shape

xs
  public int xs[]
ys
  public int ys[]

Aggregation
  public Aggregation(DirEdgeDrawing _e)

setShape
  public void setShape()
calculate information for drawing the shape

getType

  public String getType()
return a string which is the name of the shape

draw

  public void draw(GraphCanvas gc,
                   Color c)
draw shape on given graph canvas


All Packages    This Package    Previous    Next