public class AppletStubImpl extends Object implements AppletStub
AppletStub
implementation for HtmlUnit. This is what is used by an applet to communicate
with the browser.Constructor and Description |
---|
AppletStubImpl(HtmlPage htmlPage,
HashMap<String,String> parameters,
URL codebase,
URL documentbase)
Constructs a stub for an applet node.
|
Modifier and Type | Method and Description |
---|---|
void |
appletResize(int width,
int height) |
AppletContext |
getAppletContext() |
URL |
getCodeBase() |
URL |
getDocumentBase() |
String |
getParameter(String name) |
boolean |
isActive() |
public AppletStubImpl(HtmlPage htmlPage, HashMap<String,String> parameters, URL codebase, URL documentbase)
htmlPage
- the containing pageparameters
- app parameters of the appletcodebase
- codebase of the appletdocumentbase
- documentbase of the appletpublic void appletResize(int width, int height)
appletResize
in interface AppletStub
public AppletContext getAppletContext()
getAppletContext
in interface AppletStub
public URL getCodeBase()
getCodeBase
in interface AppletStub
public URL getDocumentBase()
getDocumentBase
in interface AppletStub
public String getParameter(String name)
getParameter
in interface AppletStub
public boolean isActive()
isActive
in interface AppletStub
Copyright © 2002–2021 Gargoyle Software Inc.. All rights reserved.