home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2003 January / maximum-cd-2003-01.iso / Software / Apps / OperawithJava / ow32enen700b1j.exe / OPERA.JAR / netscape / plugin / Plugin.class (.txt)
Encoding:
Java Class File  |  2002-11-05  |  613 b   |  27 lines

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