All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class ptolemy.plot.PlotApplet

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

public class PlotApplet
extends Applet
An Applet that can plot data from a URL. The URL should be specified using the dataurl applet parameter. Normally, the formatting commands are included in the file with the the data, but it is also possible to include them in the pxgraphargs applet parameter. That parameter contains command-line style arguments compatible with the older pxgraph program. See the documentation for the Pxgraph class for the format of these arguments. See the documentation for the PlotBox and Plot classes for the file format for the URL.

Version:
$Id: PlotApplet.java,v 1.29 1998/11/18 07:43:10 cxh Exp $
Author:
Edward A. Lee, Christopher Hylands
See Also:
PlotBox, Plot, Pxgraph

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 for the applet.
 o plot()
Return the Plot object to operate on.

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 newPlot
 public Plot newPlot()
Create a new Plot object for the applet. Derived classes can redefine this method to return a different type of plot object.

 o plot
 public Plot plot()
Return the Plot object to operate on.


All Packages  Class Hierarchy  This Package  Previous  Next  Index