Class jschematic
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----java.applet.Applet
|
+----jschematic
- public class jschematic
- extends Applet
- implements Runnable, WindowListener
This applet handles the menu and the different "results"
for the schematic entry: elements, probes , analyses via separate forms
TODO: parameter (sweeps), more comments
It further launches simulations and keeps plot data in memory
for later viewing with ptplot.
-
jschematic()
-
-
createFrame()
- This is called by any master (e.g.
-
getAppletInfo()
- This class is called by a master to get some information about this applet.
-
init()
- This is called by any master (e.g.
-
main(String[])
- With this we allow starting the applet as an application, too.
-
menuAction(ActionEvent)
- handles the menu actions, we may separate this later....
-
run()
- After init, this method is called by the master to activate the applet thread.
-
start()
- With this the master tells the applet to start computations (here not needed).
-
stop()
- With this the master tells the applet to stop computations (here not needed).
-
windowActivated(WindowEvent)
- With this we detect that the window was activated (not used here).
-
windowClosed(WindowEvent)
- With this we detect that the window was closed (not used here).
-
windowClosing(WindowEvent)
- With this we detect that the window manager tries to close the window.
-
windowDeactivated(WindowEvent)
- With this we detect that the window was deactivated (not used here).
-
windowDeiconified(WindowEvent)
- With this we detect that the window was deiconified (not used here).
-
windowIconified(WindowEvent)
- With this we detect that the window was iconified (not used here).
-
windowOpened(WindowEvent)
- With this we detect that the window was opened (not used here).
jschematic
public jschematic()
init
public void init()
- This is called by any master (e.g. a browser) to init the applet.
(there we set up the gui)
- Overrides:
- init in class Applet
getAppletInfo
public String getAppletInfo()
- This class is called by a master to get some information about this applet.
- Overrides:
- getAppletInfo in class Applet
start
public void start()
- With this the master tells the applet to start computations (here not needed).
(e.g. when the browser is deiconized, etc.)
- Overrides:
- start in class Applet
stop
public void stop()
- With this the master tells the applet to stop computations (here not needed).
(e.g. when the browser is iconized, etc.)
- Overrides:
- stop in class Applet
run
public void run()
- After init, this method is called by the master to activate the applet thread.
createFrame
public void createFrame()
- This is called by any master (e.g. a browser) to init the applet.
(there we set up the gui)
menuAction
public boolean menuAction(ActionEvent event)
- handles the menu actions, we may separate this later....
windowClosing
public void windowClosing(WindowEvent e)
- With this we detect that the window manager tries to close the window.
We dispose our frame here.
windowOpened
public void windowOpened(WindowEvent e)
- With this we detect that the window was opened (not used here).
windowClosed
public void windowClosed(WindowEvent e)
- With this we detect that the window was closed (not used here).
windowDeiconified
public void windowDeiconified(WindowEvent e)
- With this we detect that the window was deiconified (not used here).
windowIconified
public void windowIconified(WindowEvent e)
- With this we detect that the window was iconified (not used here).
windowDeactivated
public void windowDeactivated(WindowEvent e)
- With this we detect that the window was deactivated (not used here).
windowActivated
public void windowActivated(WindowEvent e)
- With this we detect that the window was activated (not used here).
main
public static void main(String argv[])
- With this we allow starting the applet as an application, too.
THIS IS CURRENTLY NOT FULLY TESTED/SUPPORTED WITH SIMULATION!