Methods Summary |
---|
public void | appletResize(int w, int h)Called when the applet wants to be resized.
// applet.setSize(w, h);
|
public java.applet.Applet | getApplet(java.lang.String an)Finds and returns the applet with the given name.
return null;
|
public java.applet.AppletContext | getAppletContext()Gets a reference to the applet's context.
return this;
|
public java.util.Enumeration | getApplets()Finds all the applets in the document
class AppletLister implements Enumeration {
public boolean hasMoreElements() {
return false;
}
public Object nextElement() {
return null;
}
}
return new AppletLister();
|
public java.applet.AudioClip | getAudioClip(java.net.URL u)Create an audio clip for the given URL of a .au file
return null;
|
public java.net.URL | getCodeBase()Gets the base URL.
return getClass().getResource(".");
|
public java.net.URL | getDocumentBase()Gets the document URL.
return getClass().getResource(".");
|
public java.awt.Image | getImage(java.net.URL u)Look up and create an Image object that can be paint()ed
return null;
|
public java.lang.String | getParameter(java.lang.String name)Returns the value of the named parameter in the HTML tag.
String value = null;
return value;
|
public java.io.InputStream | getStream(java.lang.String key)
return (InputStream)streamMap.get(key);
|
public java.util.Iterator | getStreamKeys()
return streamMap.keySet().iterator();
|
public boolean | isActive()Determines if the applet is active.
return true;
|
public void | setStream(java.lang.String key, java.io.InputStream stream)Associate the stream with the key.
streamMap.put(key, stream);
|
public void | showDocument(java.net.URL u)Request to overlay the current page with a new one - ignored
|
public void | showDocument(java.net.URL u, java.lang.String frame)as above but with a Frame target
|
public void | showStatus(java.lang.String msg)Called by the Applet to display a message in the bottom line
if (msg == null)
msg = "";
status.setText(msg);
|