fcmodeler.view.figures
Class TestArrowhead

java.lang.Object
  |
  +--diva.canvas.connector.Arrowhead
        |
        +--fcmodeler.view.figures.TestArrowhead
All Implemented Interfaces:
diva.canvas.connector.ConnectorEnd

public class TestArrowhead
extends diva.canvas.connector.Arrowhead

Shows how often diva.canvas.connector.Arrowhead.reshape() gets called. That method creates a new java.awt.geom.AffineTransform object at the beginning of each call. Could also extend diva.canvas.connector.Blob, to show the same thing.

Since:
JDK1.3
Version:
$Revision: 1.1 $
Author:
Zach Cox

Constructor Summary
TestArrowhead()
          Creates new TestArrowhead
TestArrowhead(double x, double y, double normal)
           
 
Method Summary
 void reshape()
           
 
Methods inherited from class diva.canvas.connector.Arrowhead
getBounds, getConnection, getLength, getOrigin, paint, setLength, setNormal, setOrigin, translate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestArrowhead

public TestArrowhead()
Creates new TestArrowhead

TestArrowhead

public TestArrowhead(double x,
                     double y,
                     double normal)
Method Detail

reshape

public void reshape()
Overrides:
reshape in class diva.canvas.connector.Arrowhead