Class Graph

Class Graph

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Frame
                                   |
                                   +----Graph

class Graph
extends Frame
This sets up the plot selections under "File" menu selection. The selected plot is then drawn using double buffered graphics.

Constructor Index

 o Graph()
This sets up the plot selections in the "File" sub menu

Method Index

 o handleEvent(Event)
Window,menu,and button handling.
 o paint(Graphics)
Paint the window graphics.
 o redraw()
Update the screen
 o update(Graphics)
Use double buffering to prevent flickering images.

Constructors

 o Graph
  public Graph()
This sets up the plot selections in the "File" sub menu

Methods

 o redraw
  public void redraw()
Update the screen
 o update
  public final void update(Graphics g)
Use double buffering to prevent flickering images.
Overrides:
update in class Component
 o paint
  public void paint(Graphics g)
Paint the window graphics. Label and draw the selected plot in the plot window.
Overrides:
paint in class Component
 o handleEvent
  public boolean handleEvent(Event event)
Window,menu,and button handling. If the window is closed clean up. If "Select Signal" is selected in the menu then open corresponding plot window. If exit is selected in the menu clean up and close window.
Overrides:
handleEvent in class Component