com.meterware.httpunit

Class WebApplet

public class WebApplet extends HTMLElementBase

This class represents the embedding of an applet in a web page.

Author: Oliver Imbusch Russell Gold

Constructor Summary
WebApplet(WebResponse response, Node rootNode, String baseTarget)
Method Summary
AppletgetApplet()
StringgetArchiveSpecification()
Returns the archive specification.
URLgetCodeBaseURL()
Returns the URL of the codebase used to find the applet classes
intgetHeight()
Returns the height of the panel in which the applet will be drawn.
StringgetMainClassName()
Returns the name of the applet main class.
StringgetParameter(String name)
Returns the value of the specified applet parameter, or null if not defined.
String[]getParameterNames()
Returns an array containing the names of the parameters defined for the applet.
protected ScriptableDelegategetParentDelegate()
intgetWidth()
Returns the width of the panel in which the applet will be drawn.
protected ScriptableDelegatenewScriptable()

Constructor Detail

WebApplet

public WebApplet(WebResponse response, Node rootNode, String baseTarget)

Method Detail

getApplet

public Applet getApplet()

getArchiveSpecification

public String getArchiveSpecification()
Returns the archive specification.

getCodeBaseURL

public URL getCodeBaseURL()
Returns the URL of the codebase used to find the applet classes

getHeight

public int getHeight()
Returns the height of the panel in which the applet will be drawn.

getMainClassName

public String getMainClassName()
Returns the name of the applet main class.

getParameter

public String getParameter(String name)
Returns the value of the specified applet parameter, or null if not defined.

getParameterNames

public String[] getParameterNames()
Returns an array containing the names of the parameters defined for the applet.

getParentDelegate

protected ScriptableDelegate getParentDelegate()

getWidth

public int getWidth()
Returns the width of the panel in which the applet will be drawn.

newScriptable

protected ScriptableDelegate newScriptable()