Package au.edu.unsw.cse
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 interfacejava.applet.AppletStub
-
getDocumentBase
public java.net.URL getDocumentBase()- Specified by:
getDocumentBase
in interfacejava.applet.AppletStub
-
getCodeBase
public java.net.URL getCodeBase()- Specified by:
getCodeBase
in interfacejava.applet.AppletStub
-
getParameter
public java.lang.String getParameter(java.lang.String name)- Specified by:
getParameter
in interfacejava.applet.AppletStub
-
getAppletContext
public java.applet.AppletContext getAppletContext()- Specified by:
getAppletContext
in interfacejava.applet.AppletStub
-
appletResize
public void appletResize(int width, int height)- Specified by:
appletResize
in interfacejava.applet.AppletStub
-