org.jcpsim.plot
Class Trace

java.lang.Object
  extended by org.jcpsim.plot.Trace

public class Trace
extends java.lang.Object


Field Summary
 java.awt.Color color
           
static int DOTS
           
 java.awt.Color headColor
           
static int LINES
           
 
Constructor Summary
Trace(java.lang.String name, ResultParameter x, ResultParameter y, int size, float width)
           
Trace(java.lang.String name, ResultParameter x, ResultParameter y, int size, float width, float headSize, java.awt.Color color, java.awt.Color head, int mode, edu.umd.cs.piccolo.PNode node)
           
 
Method Summary
 java.awt.Color getColor()
           
 double getLastX()
           
 java.lang.String getName()
           
 int getSize()
           
 ResultParameter getX()
           
 double getX(int i)
           
 ResultParameter getY()
           
 double getY(int i)
           
 void put(double x, double y)
           
 void setNode(edu.umd.cs.piccolo.PNode node)
           
 void setOld(double x, double y)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DOTS

public static final int DOTS
See Also:
Constant Field Values

LINES

public static final int LINES
See Also:
Constant Field Values

color

public java.awt.Color color

headColor

public java.awt.Color headColor
Constructor Detail

Trace

public Trace(java.lang.String name,
             ResultParameter x,
             ResultParameter y,
             int size,
             float width)

Trace

public Trace(java.lang.String name,
             ResultParameter x,
             ResultParameter y,
             int size,
             float width,
             float headSize,
             java.awt.Color color,
             java.awt.Color head,
             int mode,
             edu.umd.cs.piccolo.PNode node)
Method Detail

put

public void put(double x,
                double y)

setOld

public void setOld(double x,
                   double y)

getSize

public int getSize()

getName

public java.lang.String getName()

getX

public ResultParameter getX()

getY

public ResultParameter getY()

getColor

public java.awt.Color getColor()

size

public int size()

getX

public double getX(int i)

getY

public double getY(int i)

getLastX

public double getLastX()

setNode

public void setNode(edu.umd.cs.piccolo.PNode node)


jCpSim (Java CardioPulmonary SIMulations), v0.2.01
Dr. Frank Fischer, frank@jcpsim.org, http://www.jcpsim.org