Methodes de la classe Applet

destroy() Called by the browser or applet viewer to inform this applet that it is being reclaimed and that it should destroy any resources that it has allocated.

getAppletContext() Determines this applet's context, which allows the applet to query and affect the environment in which it runs.

getAppletInfo() Returns information about this applet.

getAudioClip(URL) Returns the AudioClip object specified by the URL argument.

getAudioClip(URL, String) Returns the AudioClip object specified by the URL and name arguments.

getCodeBase() Gets the base URL.

getDocumentBase() Gets the document URL.

getImage(URL) Returns an Image object that can then be painted on the screen.

getImage(URL, String) Returns an Image object that can then be painted on the screen.

getLocale() Gets the Locale for the applet, if it has been set.

getParameter(String) Returns the value of the named parameter in the HTML tag.

getParameterInfo() Returns information about the parameters than are understood by this applet.

init() Called by the browser or applet viewer to inform this applet that it has been loaded into the system.

isActive() Determines if this applet is active. play(URL) Plays the audio clip at the specified absolute URL.

play(URL, String) Plays the audio clip given the URL and a specifier that is relative to it.

resize(Dimension) Requests that this applet be resized. resize(int, int) Requests that this applet be resized.

setStub(AppletStub) Sets this applet's stub.

showStatus(String) Requests that the argument string be displayed in the "status window".

start() Called by the browser or applet viewer to inform this applet that it should start its execution.

stop() Called by the browser or applet viewer to inform this applet that it should stop its execution.

NB : Extrait de la doc Sun.


Ph. RIS 1997