⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 appletstubproxy.java

📁 一款即时通讯软件
💻 JAVA
字号:
package edu.ou.kmi.buddyspace.plugins.simlink.gui;

import java.applet.*;
import java.net.*;
import java.util.*;

public class AppletStubProxy implements AppletStub {
    /**
     * Called when the applet wants to be resized.
     *
     * @param width the new requested width for the applet.
     * @param height the new requested height for the applet.
     * @todo Implement this java.applet.AppletStub method
     */
    public void appletResize(int width, int height) {
    }

    /**
     * Gets a handler to the applet's context.
     *
     * @return the applet's context.
     * @todo Implement this java.applet.AppletStub method
     */
    public AppletContext getAppletContext() {
        return null;
    }

    /**
     * Gets the base URL.
     *
     * @return the base {@link java.net.URL} of the directory which contains
     *   the applet.
     * @todo Implement this java.applet.AppletStub method
     */
    public URL getCodeBase() {
        return null;
    }

    /**
     * Gets the URL of the document in which the applet is embedded.
     *
     * @return the {@link java.net.URL} of the document that contains the
     *   applet.
     * @todo Implement this java.applet.AppletStub method
     */
    public URL getDocumentBase() {
        return null;
    }

    private Map parameters = null;
    public void setParameters(Map parameters) { this.parameters = parameters; }

    /**
     * Returns the value of the named parameter in the HTML tag.
     *
     * @param name a parameter name.
     * @return the value of the named parameter, or <tt>null</tt> if not set.
     * @todo Implement this java.applet.AppletStub method
     */
    public String getParameter(String name) {
        System.out.println(name);
        Object value = parameters.get(name);
        return value == null ? null : value.toString();
    }

    /**
     * Determines if the applet is active.
     *
     * @return <code>true</code> if the applet is active; <code>false</code>
     *   otherwise.
     * @todo Implement this java.applet.AppletStub method
     */
    public boolean isActive() {
        return false;
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -