org.tigris.gef.presentation
Class ArrowHeadDiamond

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

public class ArrowHeadDiamond
extends ArrowHead

Draws a Diamond at the end of a FigEdge.

See Also:
Serialized Form

Field Summary
static ArrowHeadDiamond BlackDiamond
           
static ArrowHeadDiamond WhiteDiamond
           
 
Fields inherited from class org.tigris.gef.presentation.ArrowHead
arrow_height, arrow_width, arrowFillColor, arrowLineColor
 
Constructor Summary
ArrowHeadDiamond()
           
ArrowHeadDiamond(java.awt.Color line, java.awt.Color fill)
           
 
Method Summary
 void paint(java.awt.Graphics g, java.awt.Point start, java.awt.Point end)
           
 
Methods inherited from class org.tigris.gef.presentation.ArrowHead
dist, dist, getFillColor, getLineColor, getLineLength, paintAtHead, paintAtTail, pointAlongLine, setFillColor, setLineColor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WhiteDiamond

public static ArrowHeadDiamond WhiteDiamond

BlackDiamond

public static ArrowHeadDiamond BlackDiamond
Constructor Detail

ArrowHeadDiamond

public ArrowHeadDiamond()

ArrowHeadDiamond

public ArrowHeadDiamond(java.awt.Color line,
                        java.awt.Color fill)
Method Detail

paint

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