Synthia
Generic and flexible data structure generator
examples.oscilloscope.Oscilloscope Class Reference

Detailed Description

A simple JFrame that simulates the operation of an oscilloscope.

This class produces a window, showing a square grid on which two-dimensional points can be added and displayed. The class is used to display the patterns produced by the various pickers showcased in this package. An example of the display produced by the oscilloscope is:

Oscilloscope window

Definition at line 46 of file Oscilloscope.java.

Inheritance diagram for examples.oscilloscope.Oscilloscope:

Classes

class  Point
 
class  Screen
 

Public Member Functions

 Oscilloscope ()
 
Oscilloscope addPoints (List< float[]> points)
 

Protected Attributes

final Screen m_screen
 

Static Protected Attributes

static final Color s_darkGreen = new Color(0, 192, 0)
 

Constructor & Destructor Documentation

◆ Oscilloscope()

examples.oscilloscope.Oscilloscope.Oscilloscope ( )

Definition at line 57 of file Oscilloscope.java.

Member Function Documentation

◆ addPoints()

Oscilloscope examples.oscilloscope.Oscilloscope.addPoints ( List< float[]>  points)

Definition at line 68 of file Oscilloscope.java.

Member Data Documentation

◆ m_screen

final Screen examples.oscilloscope.Oscilloscope.m_screen
protected

Definition at line 53 of file Oscilloscope.java.

◆ s_darkGreen

final Color examples.oscilloscope.Oscilloscope.s_darkGreen = new Color(0, 192, 0)
staticprotected

Definition at line 55 of file Oscilloscope.java.


The documentation for this class was generated from the following file: