org.ejtools.graph
Interface GraphElement

All Known Implementing Classes:
CompositeTrack, ControlCompositeTrack, DefaultGraphElement, Track

public interface GraphElement

Version:
$Revision: 1.7 $
Author:
Laurent Etiemble

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
 

Method Detail

getXRange

public Range getXRange()
Gets the xRange attribute of the GraphModel object

Returns:
The xRange value

getColor

public java.awt.Color getColor()
Gets the color attribute of the Element object

Returns:
The color value

draw

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

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

getYRange

public Range getYRange()
Gets the yRange attribute of the GraphModel object

Returns:
The yRange value


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