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
-
_debug
-
-
PlotApplet()
-
-
getAppletInfo()
- Return a string describing this applet.
-
getParameterInfo()
- Return information about parameters.
-
init()
- Initialize the applet.
-
newPlot()
- Create a new Plot object to operate on.
-
paint(Graphics)
- Paint the screen with our plot.
-
plot()
- Return the Plot object to operate on.
-
run()
-
-
start()
- Start the plot.
-
stop()
- Stop the plot.
_debug
protected int _debug
PlotApplet
public PlotApplet()
getAppletInfo
public String getAppletInfo()
- Return a string describing this applet.
- Overrides:
- getAppletInfo in class Applet
getParameterInfo
public String[][] getParameterInfo()
- Return information about parameters.
- Overrides:
- getParameterInfo in class Applet
init
public void init()
- Initialize the applet. Read the applet parameters.
- Overrides:
- init in class Applet
paint
public void paint(Graphics graphics)
- Paint the screen with our plot.
- Overrides:
- paint in class Container
plot
public Plot plot()
- Return the Plot object to operate on.
run
public void run()
start
public void start()
- Start the plot.
- Overrides:
- start in class Applet
stop
public void stop()
- Stop the plot.
- Overrides:
- stop in class Applet
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