Class viewPanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Window
                           |
                           +----java.awt.Dialog
                                   |
                                   +----viewPanel

public class viewPanel
extends Dialog
implements ActionListener, WindowListener
class to setup a VIEW pane - It is responsible for showing wave data results graphically to the user. It needs PTPLOT as wave viewing class.


Constructor Index

 o viewPanel(Frame, String)

Method Index

 o actionPerformed(ActionEvent)
This method is needed as this class is an action listener.
 o toString()
this generates a dummy return - all classes have it! the main class collects everything for simulation by calling this
 o windowActivated(WindowEvent)
just to satisfy window listener interface
 o windowClosed(WindowEvent)
just to satisfy window listener interface
 o windowClosing(WindowEvent)
we want to know if the panel gets closed (window listener interface)
 o windowDeactivated(WindowEvent)
 o windowDeiconified(WindowEvent)
just to satisfy window listener interface
 o windowIconified(WindowEvent)
just to satisfy window listener interface
 o windowOpened(WindowEvent)
just to satisfy window listener interface

Constructors

 o viewPanel
 public viewPanel(Frame f,
                  String results)

Methods

 o actionPerformed
 public void actionPerformed(ActionEvent e)
This method is needed as this class is an action listener. (this interface is implemented in this class)

Parameters:
e - the user event to handle
 o toString
 public String toString()
this generates a dummy return - all classes have it! the main class collects everything for simulation by calling this

Overrides:
toString in class Component
 o windowClosing
 public void windowClosing(WindowEvent e)
we want to know if the panel gets closed (window listener interface)

 o windowOpened
 public void windowOpened(WindowEvent e)
just to satisfy window listener interface

 o windowClosed
 public void windowClosed(WindowEvent e)
just to satisfy window listener interface

 o windowDeiconified
 public void windowDeiconified(WindowEvent e)
just to satisfy window listener interface

 o windowIconified
 public void windowIconified(WindowEvent e)
just to satisfy window listener interface

 o windowDeactivated
 public void windowDeactivated(WindowEvent e)
 o windowActivated
 public void windowActivated(WindowEvent e)
just to satisfy window listener interface