JHotDraw 7.3.1

org.jhotdraw.draw
Class ChopTriangleConnector

java.lang.Object
  extended by org.jhotdraw.draw.AbstractConnector
      extended by org.jhotdraw.draw.ChopRectangleConnector
          extended by org.jhotdraw.draw.ChopTriangleConnector
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, Connector, DOMStorable

public class ChopTriangleConnector
extends ChopRectangleConnector

A Connector which locates a connection point at the bounds of a TriangleFigure.

Version:
$Id: ChopTriangleConnector.java 536 2009-06-14 12:10:57Z rawcoder $
Author:
Werner Randelshofer.
See Also:
Serialized Form

Constructor Summary
ChopTriangleConnector()
          Only used for DOMStorable input.
ChopTriangleConnector(TriangleFigure owner)
          Creates a new instance.
 
Method Summary
protected  java.awt.geom.Point2D.Double chop(Figure target, java.awt.geom.Point2D.Double from)
           
 
Methods inherited from class org.jhotdraw.draw.ChopRectangleConnector
findEnd, findStart
 
Methods inherited from class org.jhotdraw.draw.AbstractConnector
clone, contains, draw, findPoint, getAnchor, getBounds, getConnectorTarget, getDrawingArea, getOwner, isConnectToDecorator, read, setConnectToDecorator, setOwner, updateAnchor, updateEndLocation, updateStartLocation, write
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChopTriangleConnector

public ChopTriangleConnector()
Only used for DOMStorable input.


ChopTriangleConnector

public ChopTriangleConnector(TriangleFigure owner)
Creates a new instance.

Method Detail

chop

protected java.awt.geom.Point2D.Double chop(Figure target,
                                            java.awt.geom.Point2D.Double from)
Overrides:
chop in class ChopRectangleConnector

Copyright 1996-2009 (c) by the authors and contributors of the JHotDraw project.
Some rights reserved.