API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.applet. AppletContext View Source
Author(s)
Arthur van Hoff
Since
JDK1.0
Version
1.35, 04/07/06
Serial
Hierarchy
 AppletContext
Subinterfaces
Description
public interface AppletContext
  This interface corresponds to an applet's environment: the document containing the applet and the other applets in the same document.
See also:   
Methods
Hide/Show inherited methods
public Applet getApplet (String name)
  Finds and returns the applet in the document represented by this applet context with the given name.
public Enumeration<Applet> getApplets ()
  Finds all the applets in the document represented by this applet context.
public AudioClip getAudioClip (URL url)
  Creates an audio clip.
public Image getImage (URL url)
  Returns an Image object that can then be painted on the screen.
public InputStream getStream (String key)
  Returns the stream to which specified key is associated within this applet context.
public Iterator<String> getStreamKeys ()
  Finds all the keys of the streams in this applet context.
public void setStream (String key, InputStream stream) throws IOException
  Associates the specified stream with the specified key in this applet context.
public void showDocument (URL url)
  Requests that the browser or applet viewer show the Web page indicated by the url argument.
public void showDocument (URL url, String target)
  Requests that the browser or applet viewer show the Web page indicated by the url argument.
public void showStatus (String status)
  Requests that the argument string be displayed in the "status window".
Fields
Hide/Show inherited fields
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar