Class FakeAppletStub

java.lang.Object
au.edu.unsw.cse.FakeAppletStub
All Implemented Interfaces:
java.applet.AppletStub

public class FakeAppletStub
extends java.lang.Object
implements java.applet.AppletStub
Fake AppletStub so that an Applet can run as as application
  • Constructor Summary

    Constructors
    Constructor Description
    FakeAppletStub​(java.lang.String docBase)  
  • Method Summary

    Modifier and Type Method Description
    void appletResize​(int width, int height)  
    java.applet.AppletContext getAppletContext()  
    java.net.URL getCodeBase()  
    java.net.URL getDocumentBase()  
    java.lang.String getParameter​(java.lang.String name)  
    boolean isActive()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FakeAppletStub

      public FakeAppletStub​(java.lang.String docBase)
  • Method Details

    • isActive

      public boolean isActive()
      Specified by:
      isActive in interface java.applet.AppletStub
    • getDocumentBase

      public java.net.URL getDocumentBase()
      Specified by:
      getDocumentBase in interface java.applet.AppletStub
    • getCodeBase

      public java.net.URL getCodeBase()
      Specified by:
      getCodeBase in interface java.applet.AppletStub
    • getParameter

      public java.lang.String getParameter​(java.lang.String name)
      Specified by:
      getParameter in interface java.applet.AppletStub
    • getAppletContext

      public java.applet.AppletContext getAppletContext()
      Specified by:
      getAppletContext in interface java.applet.AppletStub
    • appletResize

      public void appletResize​(int width, int height)
      Specified by:
      appletResize in interface java.applet.AppletStub