home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2001 March / maximum-cd-2001-03.iso / Powerware / Opera / Opera5_final_java.exe / OPERA.JAR / netscape / plugin / Plugin.class (.txt)
Encoding:
Java Class File  |  2000-06-14  |  614 b   |  27 lines

  1. package netscape.plugin;
  2.  
  3. import netscape.javascript.JSObject;
  4.  
  5. public class Plugin {
  6.    int plugin_id;
  7.    JSObject window;
  8.  
  9.    public void destroy() {
  10.    }
  11.  
  12.    public int getPeer() {
  13.       return this.plugin_id;
  14.    }
  15.  
  16.    public JSObject getWindow() {
  17.       return this.window;
  18.    }
  19.  
  20.    public void init() {
  21.    }
  22.  
  23.    public boolean isActive() {
  24.       return this.plugin_id != 0;
  25.    }
  26. }
  27.