Beispiel #1
0
 internal BeansAppletStub(Applet target, AppletContext context, URL codeBase, URL docBase)
 {
     this.Target           = target;
     this.Context          = context;
     this.CodeBase_Renamed = codeBase;
     this.DocBase          = docBase;
 }
Beispiel #2
0
 /// <summary>
 /// Returns the <code>AudioClip</code> object specified by the
 /// <code>URL</code> argument.
 /// <para>
 /// This method always returns immediately, whether or not the audio
 /// clip exists. When this applet attempts to play the audio clip, the
 /// data will be loaded.
 ///
 /// </para>
 /// </summary>
 /// <param name="url">  an absolute URL giving the location of the audio clip. </param>
 /// <returns>  the audio clip at the specified URL. </returns>
 /// <seealso cref=     java.applet.AudioClip </seealso>
 public virtual AudioClip GetAudioClip(URL url)
 {
     return(AppletContext.GetAudioClip(url));
 }
Beispiel #3
0
 /// <summary>
 /// Returns an <code>Image</code> object that can then be painted on
 /// the screen. The <code>url</code> that is passed as an argument
 /// must specify an absolute URL.
 /// <para>
 /// This method always returns immediately, whether or not the image
 /// exists. When this applet attempts to draw the image on the screen,
 /// the data will be loaded. The graphics primitives that draw the
 /// image will incrementally paint on the screen.
 ///
 /// </para>
 /// </summary>
 /// <param name="url">   an absolute URL giving the location of the image. </param>
 /// <returns>  the image at the specified URL. </returns>
 /// <seealso cref=     java.awt.Image </seealso>
 public virtual Image GetImage(URL url)
 {
     return(AppletContext.GetImage(url));
 }
Beispiel #4
0
 /// <summary>
 /// Requests that the argument string be displayed in the
 /// "status window". Many browsers and applet viewers
 /// provide such a window, where the application can inform users of
 /// its current state.
 /// </summary>
 /// <param name="msg">   a string to display in the status window. </param>
 public virtual void ShowStatus(String msg)
 {
     AppletContext.ShowStatus(msg);
 }