org.ejtools.graph
Class DefaultGraphElement

java.lang.Object
  |
  +--org.ejtools.graph.DefaultGraphElement
All Implemented Interfaces:
GraphElement

public class DefaultGraphElement
extends java.lang.Object
implements GraphElement

Version:
$Revision: 1.8 $
Author:
Laurent Etiemble

Field Summary
protected  Range xr
          Description of the Field
protected  Range yr
          Description of the Field
 
Constructor Summary
DefaultGraphElement()
          Constructor for DefaultElement.
 
Method Summary
 void draw(java.awt.Graphics graphics, double scaleX, double offsetX, double scaleY, double offsetY)
          Description of the Method
 java.awt.Color getColor()
          Gets the color attribute of the Element object
 Range getXRange()
          Gets the xRange attribute of the GraphModel object
 Range getYRange()
          Gets the yRange attribute of the GraphModel object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xr

protected Range xr
Description of the Field


yr

protected Range yr
Description of the Field

Constructor Detail

DefaultGraphElement

public DefaultGraphElement()
Constructor for DefaultElement.

Method Detail

draw

public void draw(java.awt.Graphics graphics,
                 double scaleX,
                 double offsetX,
                 double scaleY,
                 double offsetY)
Description copied from interface: GraphElement
Description of the Method

Specified by:
draw in interface GraphElement
Parameters:
graphics - Description of the Parameter
scaleX - Description of the Parameter
offsetX - Description of the Parameter
scaleY - Description of the Parameter
offsetY - Description of the Parameter

getColor

public java.awt.Color getColor()
Description copied from interface: GraphElement
Gets the color attribute of the Element object

Specified by:
getColor in interface GraphElement
Returns:
The color value

getXRange

public Range getXRange()
Description copied from interface: GraphElement
Gets the xRange attribute of the GraphModel object

Specified by:
getXRange in interface GraphElement
Returns:
The xRange value

getYRange

public Range getYRange()
Description copied from interface: GraphElement
Gets the yRange attribute of the GraphModel object

Specified by:
getYRange in interface GraphElement
Returns:
The yRange value


Copyright © 2002-2003 EJTools Org.. All Rights Reserved.