org.tigris.gef.presentation
Class ArrowHeadComposite

java.lang.Object
  extended by org.tigris.gef.presentation.ArrowHead
      extended by org.tigris.gef.presentation.ArrowHeadComposite
All Implemented Interfaces:
java.io.Serializable

public class ArrowHeadComposite
extends ArrowHead

Abstract class to draw arrow heads on the ends of FigEdges.

See Also:
Serialized Form

Field Summary
protected  java.util.Vector _arrowHeads
           
 
Fields inherited from class org.tigris.gef.presentation.ArrowHead
arrow_height, arrow_width, arrowFillColor, arrowLineColor
 
Constructor Summary
ArrowHeadComposite()
           
ArrowHeadComposite(ArrowHead ah1, ArrowHead ah2)
           
 
Method Summary
 void addArrowHead(ArrowHead ah)
           
 void paint(java.awt.Graphics g, java.awt.Point start, java.awt.Point end)
           
 void paintAtHead(java.awt.Graphics g, Fig path)
           
 void paintAtTail(java.awt.Graphics g, Fig path)
           
 
Methods inherited from class org.tigris.gef.presentation.ArrowHead
dist, dist, getFillColor, getLineColor, getLineLength, pointAlongLine, setFillColor, setLineColor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_arrowHeads

protected java.util.Vector _arrowHeads
Constructor Detail

ArrowHeadComposite

public ArrowHeadComposite()

ArrowHeadComposite

public ArrowHeadComposite(ArrowHead ah1,
                          ArrowHead ah2)
Method Detail

addArrowHead

public void addArrowHead(ArrowHead ah)

paint

public void paint(java.awt.Graphics g,
                  java.awt.Point start,
                  java.awt.Point end)
Specified by:
paint in class ArrowHead

paintAtHead

public void paintAtHead(java.awt.Graphics g,
                        Fig path)
Overrides:
paintAtHead in class ArrowHead

paintAtTail

public void paintAtTail(java.awt.Graphics g,
                        Fig path)
Overrides:
paintAtTail in class ArrowHead