com.gargoylesoftware.htmlunit.html.applets
Class AppletStubImpl

java.lang.Object
  extended by com.gargoylesoftware.htmlunit.html.applets.AppletStubImpl
All Implemented Interfaces:
AppletStub

public class AppletStubImpl
extends Object
implements AppletStub

INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
AppletStub implementation for HtmlUnit. This is what is used by an applet to communicate with the browser.

Version:
$Revision: 5301 $
Author:
Marc Guillemot

Constructor Summary
AppletStubImpl(HtmlApplet htmlApplet)
          Constructs a stub for an applet node.
 
Method Summary
 void appletResize(int width, int height)
          
 AppletContext getAppletContext()
          
 URL getCodeBase()
          
 URL getDocumentBase()
          
 String getParameter(String name)
          
 boolean isActive()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppletStubImpl

public AppletStubImpl(HtmlApplet htmlApplet)
Constructs a stub for an applet node.

Parameters:
htmlApplet - the applet node
Method Detail

appletResize

public void appletResize(int width,
                         int height)

Specified by:
appletResize in interface AppletStub

getAppletContext

public AppletContext getAppletContext()

Specified by:
getAppletContext in interface AppletStub

getCodeBase

public URL getCodeBase()

Specified by:
getCodeBase in interface AppletStub

getDocumentBase

public URL getDocumentBase()

Specified by:
getDocumentBase in interface AppletStub

getParameter

public String getParameter(String name)

Specified by:
getParameter in interface AppletStub

isActive

public boolean isActive()

Specified by:
isActive in interface AppletStub


Copyright © 2002-2011 Gargoyle Software Inc.. All Rights Reserved.