📄 appletcontextproxy.java
字号:
package edu.ou.kmi.buddyspace.plugins.simlink.gui;
import java.applet.*;
import java.awt.*;
import java.io.*;
import java.net.*;
import java.util.*;
public class AppletContextProxy implements AppletContext {
/**
* Finds and returns the applet in the document represented by this
* applet context with the given name.
*
* @param name an applet name.
* @return the applet with the given name, or <code>null</code> if not
* found.
* @todo Implement this java.applet.AppletContext method
*/
public Applet getApplet(String name) {
return null;
}
/**
* Finds all the applets in the document represented by this applet
* context.
*
* @return an enumeration of all applets in the document represented by
* this applet context.
* @todo Implement this java.applet.AppletContext method
*/
public Enumeration getApplets() {
return null;
}
/**
* Creates an audio clip.
*
* @param url an absolute URL giving the location of the audio clip.
* @return the audio clip at the specified URL.
* @todo Implement this java.applet.AppletContext method
*/
public AudioClip getAudioClip(URL url) {
return null;
}
/**
* Returns an <code>Image</code> object that can then be painted on the
* screen.
*
* @param url an absolute URL giving the location of the image.
* @return the image at the specified URL.
* @todo Implement this java.applet.AppletContext method
*/
public Image getImage(URL url) {
return null;
}
/**
* Returns the stream to which specified key is associated within this
* applet context.
*
* @return the stream to which this applet context maps the key
* @param key key whose associated stream is to be returned.
* @todo Implement this java.applet.AppletContext method
*/
public InputStream getStream(String key) {
return null;
}
/**
* Finds all the keys of the streams in this applet context.
*
* @return an Iterator of all the names of the streams in this applet
* context.
* @todo Implement this java.applet.AppletContext method
*/
public Iterator getStreamKeys() {
return null;
}
/**
* Associates the specified stream with the specified key in this applet
* context.
*
* @param key key with which the specified value is to be associated.
* @param stream stream to be associated with the specified key. If this
* parameter is <code>null<code>, the specified key is removed in this
* applet context.
* @throws IOException
* @todo Implement this java.applet.AppletContext method
*/
public void setStream(String key, InputStream stream) throws IOException {
}
/**
* Requests that the browser or applet viewer show the Web page indicated
* by the <code>url</code> argument.
*
* @param url an absolute URL giving the location of the document.
* @param target a <code>String</code> indicating where to display the
* page.
* @todo Implement this java.applet.AppletContext method
*/
public void showDocument(URL url, String target) {
}
/**
* Replaces the Web page currently being viewed with the given URL.
*
* @param url an absolute URL giving the location of the document.
* @todo Implement this java.applet.AppletContext method
*/
public void showDocument(URL url) {
}
/**
* Requests that the argument string be displayed in the "status window".
*
* @param status a string to display in the status window.
* @todo Implement this java.applet.AppletContext method
*/
public void showStatus(String status) {
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -