Class java.servlet.html.HtmlApplet
All Packages Class Hierarchy This Package Previous Next Index
Class java.servlet.html.HtmlApplet
java.lang.Object
|
+----java.servlet.html.HtmlApplet
- public class HtmlApplet
- extends Object
- implements HtmlElement
Utility class for generating an applet tag.
-
HtmlApplet(String, int, int)
- Allocate a new HtmlApplet with given codebase, width, and height.
-
HtmlApplet(String, String, int, int)
- Allocate a new HtmlApplet with given codebase, attributes, width and height.
-
addParameter(String, String)
- Add a parameter tag to the applet.
-
toString()
-
-
wrap(String)
-
-
write(OutputStream)
-
HtmlApplet
public HtmlApplet(String code,
int width,
int height)
- Allocate a new HtmlApplet with given codebase, width, and height.
- Parameters:
- code - the class name of the applet
- width - the width of the applet
- height - the height of the applet
HtmlApplet
public HtmlApplet(String code,
String attribs,
int width,
int height)
- Allocate a new HtmlApplet with given codebase, attributes, width and height.
- Parameters:
- code - the class name of the applet
- attribs - additional attributes for the applet tag, ie. codebase & name
- width - the width of the applet
- height - the height of the applet
addParameter
public void addParameter(String name,
String value)
- Add a parameter tag to the applet.
- Parameters:
- name - the name of the paremater
- value - the value of the parameter
wrap
public void wrap(String tags)
write
public void write(OutputStream out) throws IOException
toString
public String toString()
- Overrides:
- toString in class Object
All Packages Class Hierarchy This Package Previous Next Index