Java Reference
In-Depth Information
/** Finds and returns the applet with the given name. */
public
public Applet getApplet ( String an ) {
return
return null
null ;
}
/** Finds all the applets in the document
* XXX NOT REALLY IMPLEMENTED
*/
public
public Enumeration < Applet > getApplets () {
class
class AppletLister
AppletLister implements
implements Enumeration < Applet > {
public
public boolean
boolean hasMoreElements () {
return
return false
false ;
}
public
public Applet nextElement () {
return
return null
null ;
}
}
return
return new
new AppletLister ();
}
/** Create an audio clip for the given URL of a .au file */
public
public AudioClip getAudioClip ( URL u ) {
return
return null
null ;
}
/** Look up and create an Image object that can be paint()ed */
public
public Image getImage ( URL u ) {
return
return null
null ;
}
/** Request to overlay the current page with a new one - ignored */
public
public void
void showDocument ( URL u ) {
}
/** as above but with a Frame target */
public
public void
void showDocument ( URL u , String frame ) {
}
/** Called by the Applet to display a message in the bottom line */
public
public void
void showStatus ( String msg ) {
iif ( msg == null
null )
msg = "" ;
status . setText ( msg );
}
Search WWH ::




Custom Search