fcmodeler.view.figures
Class BlobCircleHeadExt

java.lang.Object
  |
  +--diva.canvas.connector.Blob
        |
        +--fcmodeler.view.figures.BlobCircleHeadExt
All Implemented Interfaces:
java.lang.Cloneable, diva.canvas.connector.ConnectorEnd, ConnectorEndExt

public class BlobCircleHeadExt
extends diva.canvas.connector.Blob
implements ConnectorEndExt

This class specifically extends Blob to provide a circle connector end. Besides the inherited methods from Blob, String representation of this circle connector end and the clone() method implementation are also added.

Author:
xein

Fields inherited from class diva.canvas.connector.Blob
BLOB_CIRCLE, BLOB_DIAMOND, stroke
 
Constructor Summary
BlobCircleHeadExt()
          Constructor for the BlobCircleHeadExt object
BlobCircleHeadExt(double x, double y, double normal)
          Constructor for the BlobCircleHeadExt object
 
Method Summary
 java.lang.Object clone()
          Creates and returns a copy of this BlobCircleHeadExt.
 java.lang.String toString()
          Return the String representatin for BlobCircleHeadExt
 
Methods inherited from class diva.canvas.connector.Blob
getBounds, getConnection, getOrigin, getSizeUnit, getStyle, isFilled, paint, reshape, setFilled, setNormal, setOrigin, setSizeUnit, setStyle, translate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface diva.canvas.connector.ConnectorEnd
getBounds, getConnection, getOrigin, paint, setNormal, setOrigin, translate
 

Constructor Detail

BlobCircleHeadExt

public BlobCircleHeadExt()
Constructor for the BlobCircleHeadExt object

BlobCircleHeadExt

public BlobCircleHeadExt(double x,
                         double y,
                         double normal)
Constructor for the BlobCircleHeadExt object
Parameters:
x - x-coordinate of this BlobCircleHeadExt object
y - y-coordinate of this BlobCircleHeadExt object
normal - the angle in radian
Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Creates and returns a copy of this BlobCircleHeadExt. The returned Object is guaranteed to be of type BlobCircleHeadExt and is also guaranteed to have copies of any mutable fields of this object.
Specified by:
clone in interface ConnectorEndExt
Overrides:
clone in class java.lang.Object
Returns:
a clone of this BlobCircleHeadExt object.
Throws:
java.lang.CloneNotSupportedException - should never be thrown, as this class extends Object and implements Cloneable by implementing ConnectorEndExt.

toString

public java.lang.String toString()
Return the String representatin for BlobCircleHeadExt
Overrides:
toString in class java.lang.Object
Returns:
Description of the Returned Value