KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > jimm > datavision > gui > applet > DVApplet


1 package jimm.datavision.gui.applet;
2 import javax.swing.JApplet JavaDoc;
3
4 /**
5  * A report design applet. When initialized, it creates a
6  * {@link DesignApplet} designer.
7  *
8  * @author Jim Menard, <a HREF="mailto:jimm@io.com">jimm@io.com</a>
9  */

10 public class DVApplet extends JApplet JavaDoc {
11
12 protected static final String JavaDoc COLUMN_PARAM_DELIM = ";";
13
14 protected DesignApplet designer;
15
16 public void init() {
17     designer = new DesignApplet(this);
18 }
19
20 /**
21  * Returns the &quot;report-url&quot; applet parameter value.
22  *
23  * @return the &quot;report-url&quot; applet parameter value
24  */

25 String JavaDoc getReportURL() {
26     return getParameter("report-url");
27 }
28
29 /**
30  * Returns the &quot;save-url&quot; applet parameter value.
31  *
32  * @return the &quot;save-url&quot; applet parameter value
33  */

34 String JavaDoc getSaveURL() {
35     return getParameter("save-url");
36 }
37
38 }
39
Popular Tags