org.activemath.applets
Class RelayedAppletStub

java.lang.Object
  extended by org.activemath.applets.RelayedAppletStub
All Implemented Interfaces:
AppletStub, Runnable

public class RelayedAppletStub
extends Object
implements AppletStub, Runnable

Version:

Field Summary
static boolean DEBUG
           
 
Constructor Summary
RelayedAppletStub(Applet parentApplet, URL loadFrom)
           
 
Method Summary
 void appletResize(int width, int height)
          No-op
 String getAppletClassName()
           
 AppletContext getAppletContext()
          Delegates to the parent
 URL getCodeBase()
           
 URL getDocumentBase()
           
 Exception getException()
           
 int getHeight()
           
 String getParameter(String name)
           
 String getTitle()
           
 int getWidth()
           
 boolean isActive()
           
 void run()
           
 void throwIfNotFinished()
           
 void waitUntilFinished()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

public static boolean DEBUG
Constructor Detail

RelayedAppletStub

public RelayedAppletStub(Applet parentApplet,
                         URL loadFrom)
Method Detail

run

public void run()
Specified by:
run in interface Runnable

appletResize

public void appletResize(int width,
                         int height)
No-op

Specified by:
appletResize in interface AppletStub

getAppletContext

public AppletContext getAppletContext()
Delegates to the parent

Specified by:
getAppletContext in interface AppletStub

getCodeBase

public URL getCodeBase()
Specified by:
getCodeBase in interface AppletStub
Throws:

getDocumentBase

public URL getDocumentBase()
Specified by:
getDocumentBase in interface AppletStub

getParameter

public String getParameter(String name)
Specified by:
getParameter in interface AppletStub

isActive

public boolean isActive()
Specified by:
isActive in interface AppletStub

getAppletClassName

public String getAppletClassName()

getWidth

public int getWidth()

getHeight

public int getHeight()

getTitle

public String getTitle()

getException

public Exception getException()

waitUntilFinished

public void waitUntilFinished()
                       throws InterruptedException
Throws:
InterruptedException

throwIfNotFinished

public void throwIfNotFinished()
                        throws IllegalStateException
Throws:
IllegalStateException