sidnet.core.gui
Class ArrowDrawingTool

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

public class ArrowDrawingTool
extends java.lang.Object


Field Summary
static int SIDE_BOTH
           
static int SIDE_LEAD
           
static int SIDE_NONE
           
static int SIDE_TRAIL
           
 
Constructor Summary
ArrowDrawingTool()
           
 
Method Summary
static void drawArrow(java.awt.Graphics g, Arrow arrow)
           
static void drawArrow(java.awt.Graphics g, double x, double y, double theta, double length, java.awt.Color color, int arrowHead)
           
static void drawArrow(java.awt.Graphics g, Location2D fromPoint, Location2D toPoint)
           
static void drawArrow(java.awt.Graphics g, Location2D fromPoint, Location2D toPoint, java.awt.Color color, int arrowHead)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIDE_LEAD

public static final int SIDE_LEAD
See Also:
Constant Field Values

SIDE_TRAIL

public static final int SIDE_TRAIL
See Also:
Constant Field Values

SIDE_BOTH

public static final int SIDE_BOTH
See Also:
Constant Field Values

SIDE_NONE

public static final int SIDE_NONE
See Also:
Constant Field Values
Constructor Detail

ArrowDrawingTool

public ArrowDrawingTool()
Method Detail

drawArrow

public static void drawArrow(java.awt.Graphics g,
                             Arrow arrow)

drawArrow

public static void drawArrow(java.awt.Graphics g,
                             Location2D fromPoint,
                             Location2D toPoint)

drawArrow

public static void drawArrow(java.awt.Graphics g,
                             Location2D fromPoint,
                             Location2D toPoint,
                             java.awt.Color color,
                             int arrowHead)

drawArrow

public static void drawArrow(java.awt.Graphics g,
                             double x,
                             double y,
                             double theta,
                             double length,
                             java.awt.Color color,
                             int arrowHead)