sidnet.core.gui
Class Arrow

java.lang.Object
  extended by sidnet.core.gui.Arrow

public class Arrow
extends java.lang.Object


Constructor Summary
Arrow(Location2D fromPoint, Location2D toPoint)
          Creates a new instance of Arrow
Arrow(Location2D fromPoint, Location2D toPoint, java.awt.Color color)
          Creates a new instance of Arrow
Arrow(Location2D fromPoint, Location2D toPoint, java.awt.Color color, int headType)
          Creates a new instance of Arrow with custom arrow head
 
Method Summary
 double getAngle360()
           
 int getArrowHead()
           
 java.awt.Color getColor()
           
 Location2D getFromPoint()
           
 Location2D getToPoint()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Arrow

public Arrow(Location2D fromPoint,
             Location2D toPoint)
Creates a new instance of Arrow


Arrow

public Arrow(Location2D fromPoint,
             Location2D toPoint,
             java.awt.Color color)
Creates a new instance of Arrow


Arrow

public Arrow(Location2D fromPoint,
             Location2D toPoint,
             java.awt.Color color,
             int headType)
Creates a new instance of Arrow with custom arrow head

Method Detail

getFromPoint

public Location2D getFromPoint()

getToPoint

public Location2D getToPoint()

getColor

public java.awt.Color getColor()

getArrowHead

public int getArrowHead()

getAngle360

public double getAngle360()