Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

gnu.java.beans
Class DummyAppletStub  view DummyAppletStub download DummyAppletStub.java

java.lang.Object
  extended bygnu.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.


Field Summary
private  java.net.URL codeBase
           
private  DummyAppletContext context
           
private  java.net.URL documentBase
           
 
Constructor Summary
DummyAppletStub(java.net.URL newCodeBase, java.net.URL newDocumentBase)
           
 
Method Summary
 void appletResize(int width, int height)
          Does nothing.
 java.applet.AppletContext getAppletContext()
          Returns a non-functional context instance.
 java.net.URL getCodeBase()
          Returns the URL of the code base for this applet.
 java.net.URL getDocumentBase()
          Returns the basename URL of the document this applet is embedded in.
 java.lang.String getParameter(java.lang.String name)
          Implementation returns null for every parameter name.
 boolean isActive()
          Returns always true.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

documentBase

private java.net.URL documentBase

codeBase

private java.net.URL codeBase

context

private DummyAppletContext context
Constructor Detail

DummyAppletStub

public DummyAppletStub(java.net.URL newCodeBase,
                       java.net.URL newDocumentBase)
Method Detail

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