Packages This Package Prev Next Index
public interface java.applet.AppletStub { // Methods public abstract void appletResize(int width, int height); §3.3.1 public abstract AppletContext getAppletContext(); §3.3.2 public abstract URL getCodeBase(); §3.3.3 public abstract URL getDocumentBase(); §3.3.4 public abstract String getParameter(String name); §3.3.5 public abstract boolean isActive(); §3.3.6 }When an applet is first created, an applet stub is attached to it using the applet's setStub method (II-§3.1.19). This stub serves as the interface between the applet and the browser environment or applet viewer environment in which the application is running.
public abstract void appletResize(int width, int height)
width
-
the new requested width for the applet
height
-
the new requested height for the applet
public abstract AppletContext getAppletContext()
public abstract URL getCodeBase()
public abstract URL getDocumentBase()
public abstract String getParameter(String name)
<applet code="Clock" width=50 height=50>
<param name=Color value="blue">
</applet>
name
-
a parameter name
public abstract boolean isActive()
Packages This Package Prev Next IndexJava API Document (HTML generated by dkramer on April 22, 1996)