Contents | Package | Class | Tree | Deprecated | Index | Help | Java 1.2 Beta 3 | ||
PREV | NEXT | SHOW LISTS | HIDE LISTS |
setStub
method. This stub
serves as the interface between the applet and the browser
environment or applet viewer environment in which the application
is running.
Method Summary | |
void | appletResize(int width,
int height)
|
AppletContext | getAppletContext()
|
URL | getCodeBase()
|
URL | getDocumentBase()
|
String | getParameter(String name)
|
boolean | isActive()
|
Method Detail |
public boolean isActive()
start
method is called. It becomes
inactive just before its stop
method is called.true
if the applet is active;
false
otherwise.public URL getDocumentBase()
URL
of the document containing the applet.public URL getCodeBase()
URL
of the applet.public String getParameter(String name)
<applet code="Clock" width=50 height=50> <param name=Color value="blue"> </applet>
then a call to getParameter("Color")
returns the
value "blue"
.
name
- a parameter name.
public AppletContext getAppletContext()
public void appletResize(int width, int height)
width
- the new requested width for the applet.
height
- the new requested height for the applet.
Contents | Package | Class | Tree | Deprecated | Index | Help | Java 1.2 Beta 3 | ||
PREV | NEXT | SHOW LISTS | HIDE LISTS |