|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AppletStub
This interface is the low level interface between the applet and the browser.
Applet.setStub(AppletStub)
Method Summary | |
---|---|
void |
appletResize(int width,
int height)
Requests that the applet window for this applet be resized. |
AppletContext |
getAppletContext()
Returns the applet context for this applet. |
URL |
getCodeBase()
Returns the URL of the code base for this applet. |
URL |
getDocumentBase()
Returns the basename URL of the document this applet is embedded in. |
String |
getParameter(String name)
Returns the value of the specified parameter that was specified in the <APPLET> tag for this applet. |
boolean |
isActive()
Tests whether or not this applet is currently active. |
Method Detail |
---|
boolean isActive()
true
if this applet is activeURL getDocumentBase()
getCodeBase()
URL getCodeBase()
String getParameter(String name)
<APPLET>
tag for this applet.
name
- the parameter name
NullPointerException
- if name is nullAppletContext getAppletContext()
void appletResize(int width, int height)
width
- the new width in pixelsheight
- the new height in pixels
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |