1 7 8 package java.applet; 9 10 import java.awt.Image ; 11 import java.awt.Graphics ; 12 import java.awt.image.ColorModel ; 13 import java.net.URL ; 14 import java.util.Enumeration ; 15 import java.io.InputStream ; 16 import java.io.IOException ; 17 import java.util.Iterator ; 18 19 31 public interface AppletContext { 32 38 AudioClip getAudioClip(URL url); 39 40 54 Image getImage(URL url); 55 56 65 Applet getApplet(String name); 66 67 74 Enumeration <Applet > getApplets(); 75 76 83 void showDocument(URL url); 84 85 116 public void showDocument(URL url, String target); 117 118 126 void showStatus(String status); 127 128 146 public void setStream(String key, InputStream stream)throws IOException ; 147 148 161 public InputStream getStream(String key); 162 163 174 public Iterator <String > getStreamKeys(); 175 } 176 | Popular Tags |