Class dcPanel

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

public class dcPanel
extends Dialog
implements ActionListener, WindowListener
class to setup an DC pane


Variable Index

 o dataValid
 o noSource

Constructor Index

 o dcPanel(Frame, String)
Opens a DC simulation panel.

Method Index

 o actionPerformed(ActionEvent)
This method is needed as this class is an action listener.
 o tempSweep()
This generates the needed line for temperature variation.
 o toString()
This generates the needed line for simulation.
 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)
just to satisfy window listener interface
 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

Variables

 o dataValid
 public boolean dataValid
 o noSource
 public boolean noSource

Constructors

 o dcPanel
 public dcPanel(Frame f,
                String netlist)
Opens a DC simulation panel.

Parameters:
f - Parent frame
netlist - netlist to extract all AC sources

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 the needed line for simulation. The main class collects everything for simulation by calling this.

Overrides:
toString in class Component
 o tempSweep
 public String tempSweep()
This generates the needed line for temperature variation. The main class collects additional sweep data by calling this.

 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)
just to satisfy window listener interface

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