physicon.graphLib
Class DashedCurveDrawer

java.lang.Object
  |
  +--physicon.graphLib.DrawerBase
        |
        +--physicon.graphLib.CurveDrawerBase
              |
              +--physicon.graphLib.DashedCurveDrawer

public class DashedCurveDrawer
extends CurveDrawerBase

Abstract curve drawer. Contains the array of points and methods to access it.


Constructor Summary
DashedCurveDrawer(java.awt.Color _c)
          The constructor
DashedCurveDrawer(java.awt.Color _c, boolean bold)
           
DashedCurveDrawer(java.awt.Color _c, double _dashLen)
           
DashedCurveDrawer(java.awt.Color _c, double _dashLen, boolean bold)
           
 
Method Summary
 void drawLocal(java.awt.Graphics g)
          Drawes the curve as the number of lines of correct color connecting points in the array
 
Methods inherited from class physicon.graphLib.CurveDrawerBase
addBreakPoint, addPoint, breakPointAt, breakPointsNumber, contains, getColor, getLocalRoughRect, getPoints, pointAt, pointsNumber, reset, setColor, setThick
 
Methods inherited from class physicon.graphLib.DrawerBase
getGlobalLevel, getGlobalRefPoint, setGlobalLevel, setGlobalRefPoint
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DashedCurveDrawer

public DashedCurveDrawer(java.awt.Color _c)
The constructor
Parameters:
_c - - The color of curve

DashedCurveDrawer

public DashedCurveDrawer(java.awt.Color _c,
                         double _dashLen)

DashedCurveDrawer

public DashedCurveDrawer(java.awt.Color _c,
                         boolean bold)

DashedCurveDrawer

public DashedCurveDrawer(java.awt.Color _c,
                         double _dashLen,
                         boolean bold)
Method Detail

drawLocal

public void drawLocal(java.awt.Graphics g)
Drawes the curve as the number of lines of correct color connecting points in the array
Parameters:
g - - given Graphics object.
Overrides:
drawLocal in class CurveDrawerBase