edu.cmu.emulator.vis
Class SigGraph

java.lang.Object
  extended by edu.cmu.emulator.vis.SigGraph

public class SigGraph
extends Object


Field Summary
protected static int BUF_SIZE
           
protected  JFrame frame
           
protected  Graph2D graph
           
protected static int HEIGHT
           
protected  double majorTicInterval
           
protected  double maxY
           
protected  double minorTicInterval
           
protected  double minY
           
protected  String name
           
protected  Series series
           
protected  double timeWidth
           
protected static int WIDTH
           
 
Constructor Summary
SigGraph(String name)
           
SigGraph(String name, int x, int y)
           
 
Method Summary
 void addValue(double time, double gain)
           
 void addValues(double[] time, double[] gain)
           
protected  void init(int x, int y)
           
 void setPosition(int x, int y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

frame

protected JFrame frame

graph

protected Graph2D graph

timeWidth

protected double timeWidth

minY

protected double minY

maxY

protected double maxY

minorTicInterval

protected double minorTicInterval

majorTicInterval

protected double majorTicInterval

WIDTH

protected static final int WIDTH
See Also:
Constant Field Values

HEIGHT

protected static final int HEIGHT
See Also:
Constant Field Values

BUF_SIZE

protected static final int BUF_SIZE
See Also:
Constant Field Values

series

protected Series series
Constructor Detail

SigGraph

public SigGraph(String name)

SigGraph

public SigGraph(String name,
                int x,
                int y)
Method Detail

setPosition

public void setPosition(int x,
                        int y)

addValues

public void addValues(double[] time,
                      double[] gain)

addValue

public void addValue(double time,
                     double gain)

init

protected void init(int x,
                    int y)


Copyright © 2013. All Rights Reserved.