vipratech.beans.standardbeans.resources
Class Trace

java.lang.Object
  |
  +--vipratech.beans.standardbeans.resources.Trace

public class Trace
extends java.lang.Object
implements java.io.Serializable

The trace object is instantiated by vipratech.beans.XYGraph to draw a plot over the graph paper background and grid. Multiple trace objects are instantiated to give mulitple plots on the same graph. It is usual to set the color trace elements in an array of traces using the rootColor array in vipratech.awt.InterfaceProperties. The default color is red.

Version:
1.02, Dec 6, 1999
Author:
Warwick Bailey   warwick-bailey@bigfoot.com
See Also:
XYGraph, Serialized Form

Constructor Summary
Trace()
          Constructor.
 
Method Summary
 void plotLine(java.awt.Graphics g, java.awt.Point pScr)
          Draws a line between the current and penultimate data point(s).
 void setColor(java.awt.Color color)
          Sets the color of this trace object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Trace

public Trace()
Constructor.
Method Detail

plotLine

public final void plotLine(java.awt.Graphics g,
                           java.awt.Point pScr)
Draws a line between the current and penultimate data point(s).

setColor

public final void setColor(java.awt.Color color)
Sets the color of this trace object.

dathe@chemie.uni-leipzig.de"

http://leipzig.vernetztes-studium.de