All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ptplot.PlotApplet

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----java.applet.Applet
                                   |
                                   +----ptplot.PlotApplet

public class PlotApplet
extends Applet
implements Runnable
Create an Applet that can plot data from a URL. The URL can be specified using either the dataurl or pxgraphargs applet parameter.

The dataurl parameter contains a single URL that refers to the data to be plotted.

The pxgraphargs parameter contains a list of commmand line style arguments, ending in one or more URLs. See the Pxgraph documentation for the format of these arguments.

Version:
@(#)PlotApplet.java 1.9 10/18/97
Author:
Edward A. Lee, Christopher Hylands
See Also:
Pxgraph

Variable Index

 o _debug

Constructor Index

 o PlotApplet()

Method Index

 o getAppletInfo()
Return a string describing this applet.
 o getParameterInfo()
Return information about parameters.
 o init()
Initialize the applet.
 o newPlot()
Create a new Plot object to operate on.
 o paint(Graphics)
Paint the screen with our plot.
 o plot()
Return the Plot object to operate on.
 o run()
 o start()
Start the plot.
 o stop()
Stop the plot.

Variables

 o _debug
 protected int _debug

Constructors

 o PlotApplet
 public PlotApplet()

Methods

 o getAppletInfo
 public String getAppletInfo()
Return a string describing this applet.

Overrides:
getAppletInfo in class Applet
 o getParameterInfo
 public String[][] getParameterInfo()
Return information about parameters.

Overrides:
getParameterInfo in class Applet
 o init
 public void init()
Initialize the applet. Read the applet parameters.

Overrides:
init in class Applet
 o paint
 public void paint(Graphics graphics)
Paint the screen with our plot.

Overrides:
paint in class Container
 o plot
 public Plot plot()
Return the Plot object to operate on.

 o run
 public void run()
 o start
 public void start()
Start the plot.

Overrides:
start in class Applet
 o stop
 public void stop()
Stop the plot.

Overrides:
stop in class Applet
 o newPlot
 protected void newPlot()
Create a new Plot object to operate on. Derived classes can redefine this method to create multiple Plot objects.


All Packages  Class Hierarchy  This Package  Previous  Next  Index