com.gargoylesoftware.htmlunit.html.applets
Class AppletContextImpl

java.lang.Object
  extended by com.gargoylesoftware.htmlunit.html.applets.AppletContextImpl
All Implemented Interfaces:
AppletContext

public class AppletContextImpl
extends Object
implements AppletContext

INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
AppletContext implementation for HtmlUnit.

Version:
$Revision: 5301 $
Author:
Marc Guillemot

Method Summary
 Applet getApplet(String name)
          
 Enumeration<Applet> getApplets()
          
 AudioClip getAudioClip(URL url)
          
 Image getImage(URL url)
          
 InputStream getStream(String key)
          
 Iterator<String> getStreamKeys()
          
 void setStream(String key, InputStream stream)
          
 void showDocument(URL url)
          
 void showDocument(URL url, String target)
          
 void showStatus(String status)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getApplet

public Applet getApplet(String name)

Specified by:
getApplet in interface AppletContext

getApplets

public Enumeration<Applet> getApplets()

Specified by:
getApplets in interface AppletContext

getAudioClip

public AudioClip getAudioClip(URL url)

Specified by:
getAudioClip in interface AppletContext

getImage

public Image getImage(URL url)

Specified by:
getImage in interface AppletContext

getStream

public InputStream getStream(String key)

Specified by:
getStream in interface AppletContext

getStreamKeys

public Iterator<String> getStreamKeys()

Specified by:
getStreamKeys in interface AppletContext

setStream

public void setStream(String key,
                      InputStream stream)
               throws IOException

Specified by:
setStream in interface AppletContext
Throws:
IOException

showDocument

public void showDocument(URL url)

Specified by:
showDocument in interface AppletContext

showDocument

public void showDocument(URL url,
                         String target)

Specified by:
showDocument in interface AppletContext

showStatus

public void showStatus(String status)

Specified by:
showStatus in interface AppletContext


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