Clover coverage report - Graph - 1.0.0
Coverage timestamp: ven. déc. 26 2003 02:14:20 CET
file stats: LOC: 65   Methods: 5
NCLOC: 22   Classes: 1
 
 Source file Conditionals Statements Methods TOTAL
DefaultGraphElement.java - 0% 0% 0%
coverage
 1   
 /*
 2   
  * EJTools, the Enterprise Java Tools
 3   
  *
 4   
  * Distributable under LGPL license.
 5   
  * See terms of license at www.gnu.org.
 6   
  */
 7   
 package org.ejtools.graph;
 8   
 
 9   
 import java.awt.Color;
 10   
 import java.awt.Graphics;
 11   
 
 12   
 /**
 13   
  * @author    Laurent Etiemble
 14   
  * @version   $Revision: 1.8 $
 15   
  * @todo      Javadoc to complete
 16   
  */
 17   
 public class DefaultGraphElement implements GraphElement
 18   
 {
 19   
    /** Description of the Field */
 20   
    protected Range xr = new Range(0.0d, 1.0d);
 21   
    /** Description of the Field */
 22   
    protected Range yr = new Range(0.0d, 1.0d);
 23   
 
 24   
 
 25   
    /** Constructor for DefaultElement. */
 26  0
    public DefaultGraphElement() { }
 27   
 
 28   
 
 29   
    /**
 30   
     * @param graphics  Description of the Parameter
 31   
     * @param scaleX    Description of the Parameter
 32   
     * @param offsetX   Description of the Parameter
 33   
     * @param scaleY    Description of the Parameter
 34   
     * @param offsetY   Description of the Parameter
 35   
     */
 36  0
    public void draw(Graphics graphics, double scaleX, double offsetX, double scaleY, double offsetY) { }
 37   
 
 38   
 
 39   
    /**
 40   
     * @return   The color value
 41   
     */
 42  0
    public Color getColor()
 43   
    {
 44  0
       return Color.black;
 45   
    }
 46   
 
 47   
 
 48   
    /**
 49   
     * @return   The xRange value
 50   
     */
 51  0
    public Range getXRange()
 52   
    {
 53  0
       return this.xr;
 54   
    }
 55   
 
 56   
 
 57   
    /**
 58   
     * @return   The yRange value
 59   
     */
 60  0
    public Range getYRange()
 61   
    {
 62  0
       return this.yr;
 63   
    }
 64   
 }
 65