GraphLab Project

graphlab.graph.old
Class PolygonArrow

java.lang.Object
  extended by graphlab.graph.old.PolygonArrow
All Implemented Interfaces:
Arrow, java.io.Serializable

public class PolygonArrow
extends java.lang.Object
implements Arrow

an arrow which is a0 polygon

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface graphlab.graph.old.Arrow
ARROW
 
Constructor Summary
PolygonArrow(java.awt.Polygon p, java.lang.String name)
           
 
Method Summary
 java.awt.Rectangle getBounds()
           
 java.lang.String getName()
           
 void paintArrow(java.awt.Graphics g, int w, int h)
          paints the arrow on the g which the size of (w,h), the w & h are disabled for this version
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PolygonArrow

public PolygonArrow(java.awt.Polygon p,
                    java.lang.String name)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface Arrow

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

paintArrow

public void paintArrow(java.awt.Graphics g,
                       int w,
                       int h)
paints the arrow on the g which the size of (w,h), the w & h are disabled for this version

Specified by:
paintArrow in interface Arrow

getBounds

public java.awt.Rectangle getBounds()
Specified by:
getBounds in interface Arrow

GraphLab Project