org.fuin.utils4swing.appletviewer
Class SimpleAppletStub

java.lang.Object
  extended by org.fuin.utils4swing.appletviewer.SimpleAppletStub
All Implemented Interfaces:
AppletStub

public final class SimpleAppletStub
extends Object
implements AppletStub

Stub for a simple applet.


Constructor Summary
SimpleAppletStub(SimpleAppletContext appletContext, Map<String,String> params, URL baseUrl)
          Constructor with all necessary arguments.
 
Method Summary
 void appletResize(int width, int height)
          
 AppletContext getAppletContext()
          
 URL getCodeBase()
          
 URL getDocumentBase()
          
 String getParameter(String key)
          
 boolean isActive()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleAppletStub

public SimpleAppletStub(SimpleAppletContext appletContext,
                        Map<String,String> params,
                        URL baseUrl)
Constructor with all necessary arguments.

Parameters:
appletContext - Applet context - Cannot be null.
params - Arguments - Cannot be null.
baseUrl - Base URL - Cannot be null.
Method Detail

appletResize

public final void appletResize(int width,
                               int height)

Specified by:
appletResize in interface AppletStub

getAppletContext

public final AppletContext getAppletContext()

Specified by:
getAppletContext in interface AppletStub

getCodeBase

public final URL getCodeBase()

Specified by:
getCodeBase in interface AppletStub

getDocumentBase

public final URL getDocumentBase()

Specified by:
getDocumentBase in interface AppletStub

getParameter

public final String getParameter(String key)

Specified by:
getParameter in interface AppletStub

isActive

public final boolean isActive()

Specified by:
isActive in interface AppletStub


Copyright © 2011 Future Invent Informationsmanagement GmbH. All Rights Reserved.