FileDocCategorySizeDatePackage
MainAppletStub.javaAPI DocJBoss 4.2.12224Fri Jul 13 21:02:14 BST 2007org.jboss.console.navtree

MainAppletStub

public class MainAppletStub extends Object implements AppletStub
A simple AppletStub to allow for testing the applet as a java application
author
Scott.Stark@jboss.org
version
$Revision: 57191 $

Fields Summary
private URL
docBase
private URL
codeBase
private Properties
params
Constructors Summary
public MainAppletStub()


      
   
      docBase = new URL("http://localhost:8080/web-console/");
      codeBase = new URL("http://localhost:8080/web-console/");
      params.setProperty("RefreshTime", "5");
      params.setProperty("PMJMXName", "jboss.admin:service=PluginManager");
   
Methods Summary
public voidappletResize(int width, int height)

   
public java.applet.AppletContextgetAppletContext()

      return null;
   
public java.net.URLgetCodeBase()

      return codeBase;
   
public java.net.URLgetDocumentBase()

      return docBase;
   
public java.lang.StringgetParameter(java.lang.String name)

      return System.getProperty(name);
   
public booleanisActive()

      return true;