org.globus.cog.gui.grapheditor.util.swing
Class TextArrow

java.lang.Object
  extended byorg.globus.cog.gui.grapheditor.util.swing.Arrow
      extended byorg.globus.cog.gui.grapheditor.util.swing.TextArrow

public class TextArrow
extends Arrow


Field Summary
protected  double alpha
           
protected  double l
           
 
Fields inherited from class org.globus.cog.gui.grapheditor.util.swing.Arrow
arrowLength, arrowWidth, lineWidth, ppx, ppy, valid, x1, x2, y1, y2
 
Constructor Summary
TextArrow(int x1, int y1, int x2, int y2, short lwidth, short awidth, short alen, String text)
           
 
Method Summary
 String getText()
           
 void paint(Graphics g)
           
 void setText(String text)
           
 void update()
           
 
Methods inherited from class org.globus.cog.gui.grapheditor.util.swing.Arrow
contains, setArrowSize, setCoords, setLineWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

alpha

protected double alpha

l

protected double l
Constructor Detail

TextArrow

public TextArrow(int x1,
                 int y1,
                 int x2,
                 int y2,
                 short lwidth,
                 short awidth,
                 short alen,
                 String text)
Method Detail

update

public void update()
Overrides:
update in class Arrow

paint

public void paint(Graphics g)
Overrides:
paint in class Arrow

getText

public String getText()

setText

public void setText(String text)