/[gcjwebplugin]/gcjwebplugin/src/gnu/applet/AppletStubImpl.java
ViewVC logotype

Diff of /gcjwebplugin/src/gnu/applet/AppletStubImpl.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by mkoch, Tue Jul 8 08:26:26 2003 UTC revision 1.2 by mkoch, Tue Jul 8 13:45:29 2003 UTC
# Line 39  package gnu.applet; Line 39  package gnu.applet;
39  import java.applet.AppletContext;  import java.applet.AppletContext;
40  import java.applet.AppletStub;  import java.applet.AppletStub;
41  import java.net.URL;  import java.net.URL;
42    import java.util.Map;
43    
44  public class AppletStubImpl implements AppletStub  public class AppletStubImpl implements AppletStub
45  {  {
46      private AppletContext context;
47    private URL codeBase;    private URL codeBase;
48    private URL documentBase;    private URL documentBase;
49      private Map params;
50        
51    public AppletStubImpl()    AppletStubImpl (AppletContext context, URL codeBase, URL documentBase,
52                      Map params)
53    {    {
54      throw new Error ("not implemented");      this.context = context;
55        this.codeBase = codeBase;
56        this.documentBase = documentBase;
57        this.params = params;
58    }    }
59    
60    public void appletResize (int width, int height)    public native void appletResize (int width, int height);
   {  
     throw new Error ("not implemented");  
   }  
61    
62    public AppletContext getAppletContext()    public AppletContext getAppletContext()
63    {    {
64      throw new Error ("not implemented");      return context;
65    }    }
66        
67    public URL getCodeBase()    public URL getCodeBase()
68    {    {
69      return codeBase;      return codeBase;
70    }    }
71      
72    public URL getDocumentBase()    public URL getDocumentBase()
73    {    {
74      return documentBase;      return documentBase;
# Line 72  public class AppletStubImpl implements A Line 76  public class AppletStubImpl implements A
76    
77    public String getParameter (String name)    public String getParameter (String name)
78    {    {
79      throw new Error ("not implemented");      return (String) params.get (name);
80    }    }
81    
82    public boolean isActive()    public native boolean isActive();
   {  
     throw new Error ("not implemented");  
   }  
83  }  }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26