Index (Frames) | Index (No Frames) | Package | Package Tree | Tree
java.applet

Interface AppletStub

java.lang.Object
|
+--java.applet.AppletStub


public interface AppletStub

This interface is the low level interface between the applet and the browser.

Since:Author:See Also:

Method Summary

voidappletResize(int width, int height)

Requests that the applet window for this applet be resized.
java.applet.AppletContextgetAppletContext()

Returns the applet context for this applet.
java.net.URLgetCodeBase()

Returns the URL of the code base for this applet.
java.net.URLgetDocumentBase()

Returns the basename URL of the document this applet is embedded in.
java.lang.StringgetParameter(java.lang.String name)

Returns the value of the specified parameter that was specified in the <APPLET> tag for this applet.
booleanisActive()

Tests whether or not this applet is currently active.

Method Details

appletResize

public void appletResize(int width, int height)

Requests that the applet window for this applet be resized.

Parameters:


getAppletContext

public AppletContext getAppletContext()

Returns the applet context for this applet.

Returns:


getCodeBase

public URL getCodeBase()

Returns the URL of the code base for this applet.

Returns:


getDocumentBase

public URL getDocumentBase()

Returns the basename URL of the document this applet is embedded in. This is everything up to the final '/'.

Returns:

See Also:


getParameter

public String getParameter(java.lang.String name)

Returns the value of the specified parameter that was specified in the <APPLET> tag for this applet.

Parameters:

Returns:

Throws:


isActive

public boolean isActive()

Tests whether or not this applet is currently active. An applet is active just before the browser invokes start(), and becomes inactive just before the browser invokes stop().

Returns: