Plugin
extends Object
.java.lang.ObjectThis 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.
|
+----netscape.plugin.Plugin
netscape.plugin.Plugin
class has the following constructors:
Table 14.4 Constructors for the Plugin
class
Constructor | Description |
---|---|
| Constructs a Plugin. |
The netscape.plugin.Plugin
class has the following methods:
Table 14.5 Methods for the Plugin
class
The following sections show the declaration and usage of these constructors and methods.
public void destroy()
init
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);
public int getPeer()
public JSObject getWindow()
public void init()
destroy
public boolean isActive()
Plugin
.public Plugin()
Last Updated: 10/31/97 12:34:01