| Method from java.beans.BeansAppletContext Detail: |
public Applet getApplet(String name) {
return null;
}
|
public Enumeration getApplets() {
java.util.Vector applets = new java.util.Vector();
applets.addElement(target);
return applets.elements();
}
|
public AudioClip getAudioClip(URL url) {
// We don't currently support audio clips in the Beans.instantiate
// applet context, unless by some luck there exists a URL content
// class that can generate an AudioClip from the audio URL.
try {
return (AudioClip) url.getContent();
} catch (Exception ex) {
return null;
}
}
|
public synchronized Image getImage(URL url) {
Object o = imageCache.get(url);
if (o != null) {
return (Image)o;
}
try {
o = url.getContent();
if (o == null) {
return null;
}
if (o instanceof Image) {
imageCache.put(url, o);
return (Image) o;
}
// Otherwise it must be an ImageProducer.
Image img = target.createImage((java.awt.image.ImageProducer)o);
imageCache.put(url, img);
return img;
} catch (Exception ex) {
return null;
}
}
|
public InputStream getStream(String key) {
// We do nothing.
return null;
}
|
public Iterator getStreamKeys() {
// We do nothing.
return null;
}
|
public void setStream(String key,
InputStream stream) throws IOException {
// We do nothing.
}
|
public void showDocument(URL url) {
// We do nothing.
}
|
public void showDocument(URL url,
String target) {
// We do nothing.
}
|
public void showStatus(String status) {
// We do nothing.
}
|