java.lang.Object
gnu.java.beans.DummyAppletStub
- All Implemented Interfaces:
- java.applet.AppletStub
- public class DummyAppletStub
- extends java.lang.Object
- implements java.applet.AppletStub
Placeholder implementation of AppletStub providing no functionality.
This class is used for Applet being created with
java.beans.Bean.instantiate.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
documentBase
private java.net.URL documentBase
codeBase
private java.net.URL codeBase
context
private DummyAppletContext context
DummyAppletStub
public DummyAppletStub(java.net.URL newCodeBase,
java.net.URL newDocumentBase)
isActive
public boolean isActive()
- Returns always
true.
- Specified by:
isActive in interface java.applet.AppletStub
getDocumentBase
public java.net.URL getDocumentBase()
- Description copied from interface:
java.applet.AppletStub
- Returns the basename URL of the document this applet is embedded in. This
is everything up to the final '/'.
- Specified by:
getDocumentBase in interface java.applet.AppletStub
getCodeBase
public java.net.URL getCodeBase()
- Description copied from interface:
java.applet.AppletStub
- Returns the URL of the code base for this applet.
- Specified by:
getCodeBase in interface java.applet.AppletStub
getParameter
public java.lang.String getParameter(java.lang.String name)
- Implementation returns
null for every parameter name.
- Specified by:
getParameter in interface java.applet.AppletStub
getAppletContext
public java.applet.AppletContext getAppletContext()
- Returns a non-functional context instance.
- Specified by:
getAppletContext in interface java.applet.AppletStub
appletResize
public void appletResize(int width,
int height)
- Does nothing.
- Specified by:
appletResize in interface java.applet.AppletStub