Index Andrzej Sapkowski Pani Jeziora 01 (561) CH03 (11) Wybuch (2) Andre Norton Swit 2250 phtips enhancing.shtml Crowley Księga Jogi i Magii 66 1 (7) cala Bettelheim Bruno Cudowne i pożyteczne O znaczeniach i wartoÂściach baÂśni (8) |
[ Pobierz całość w formacie PDF ] .You specify whether the JSException has a detail message and other information.Declaration1.public JSException()2.public JSException(String s)3.public JSException(String s, String filename, int lineno, String source, int tokenIndex)Argumentss is the detail message.filename is the URL of the file where the error occurred, if possible.lineno is the line number if the file, if possible.source is the string containing the JavaScript code being evaluated.tokenIndex is the index into the source string where the error occurred.DescriptionA detail message is a string that describes this particular exception.Each form constructs a JSException with different information:Form 1 of the declaration constructs a JSException without a detail message.Form 2 of the declaration constructs a JSException with a detail message.Form 3 of the declaration constructs a JSException with a detail message and all the other information that usually comes with a JavaScript error.netscape.plugin.PluginThe public class Plugin extends Object.java.lang.Object | +----netscape.plugin.PluginThis class represents the Java reflection of a plug-in.Plug-ins that need to have Java methods associated with them should subclass this class and add new (possibly native) methods to it.This allows other Java entities (such as applets and JavaScript code) to manipulate the plug-in.Constructors and methodsThe netscape.plugin.Plugin class has the following constructors:ConstructorDescriptionConstructs a Plugin.The netscape.plugin.Plugin class has the following methods:MethodDescriptionCalled when the plug-in is destroyedReturns the native NPP object--the plug-in instance that is thenative part of a Java Plugin objectReturns the JavaScript window on which the plug-in isembeddedCalled when the plug-in is initializedDetermines whether the Java reflection of a plug-in still refersto an active plug-inThe following sections show the declaration and usage of these constructors and methods.destroyMethod.Called when the plug-in is destroyed.You never need to call this method directly, it is called when the plug-in is destroyed.At the point this method is called, the plug-in will still be active.Declarationpublic void destroy()See alsogetPeerMethod.Returns the native NPP object--the plug-in instance that is the native part of a Java Plugin object.This field is set by the system, but can be read from plug-in native methods by calling:NPP npp = (NPP)netscape_plugin_Plugin_getPeer(env, thisPlugin);Declarationpublic int getPeer()getWindowMethod method.Returns the JavaScript window on which the plug-in is embedded.Declarationpublic JSObject getWindow()initMethod.Called when the plug-in is initialized.You never need to call this method directly, it is called when the plug-in is created.Declarationpublic void init()See alsoisActiveMethod.Determines whether the Java reflection of a plug-in still refers to an active plug-in.Plug-in instances are destroyed whenever the page containing the plug-in is left, thereby causing the plug-in to no longer be active.Declarationpublic boolean isActive()PluginConstructor.Constructs a Plugin.Declarationpublic Plugin() [ Pobierz całość w formacie PDF ] |
||||
Wszelkie Prawa Zastrzeżone! Kawa była słaba i bez smaku. Nie miała treści, a jedynie formę. Design by SZABLONY.maniak.pl. | |||||