Methods Summary |
---|
public void | appletResize(int width, int height)Called when the applet wants to be resized.
|
public java.applet.AppletContext | getAppletContext()Returns the applet's context.
|
public java.net.URL | getCodeBase()Gets the base URL. This is the URL of the directory which contains the applet.
|
public java.net.URL | getDocumentBase()Gets the URL of the document in which the applet is embedded.
For example, suppose an applet is contained
within the document:
http://java.sun.com/products/jdk/1.2/index.html
The document base is:
http://java.sun.com/products/jdk/1.2/index.html
|
public java.lang.String | getParameter(java.lang.String name)Returns the value of the named parameter in the HTML tag. For
example, if an applet is specified as
<applet code="Clock" width=50 height=50>
<param name=Color value="blue">
</applet>
then a call to getParameter("Color") returns the
value "blue" .
|
public boolean | isActive()Determines if the applet is active. An applet is active just
before its start method is called. It becomes
inactive just before its stop method is called.
|