All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class gui.ScopePanel

gui.ScopePanel

public class ScopePanel
extends javax.swing.JPanel
Oscilloscope display.


Constructor Index

 o ScopePanel()

Method Index

 o paint(Graphics)
Override JComponent.paint().
 o setDataSet(short[])
Tell the scope what data to graph.
 o setZoom(int)
Change the horizontal magnification.

Constructors

 o ScopePanel
 public ScopePanel()

Methods

 o setZoom
 public void setZoom(int zoom)
Change the horizontal magnification. Zoom is limited to the range 0 to 6. Magnification ratio is 1:N, where N=2^(zoom).

 o setDataSet
 public void setDataSet(short dataSet[])
Tell the scope what data to graph.

 o paint
 public void paint(java.awt.Graphics g)
Override JComponent.paint().


All Packages  Class Hierarchy  This Package  Previous  Next  Index