org.apache.pivot.wtk
Class BrowserApplicationContext

java.lang.Object
  extended by org.apache.pivot.wtk.ApplicationContext
      extended by org.apache.pivot.wtk.BrowserApplicationContext

public final class BrowserApplicationContext
extends ApplicationContext

Application context used to execute applications in a web browser.


Nested Class Summary
static class BrowserApplicationContext.HostApplet
          Applet used to host applications in a web browser.
 
Nested classes/interfaces inherited from class org.apache.pivot.wtk.ApplicationContext
ApplicationContext.DisplayHost, ApplicationContext.ResourceCacheDictionary, ApplicationContext.ScheduledCallback
 
Field Summary
 
Fields inherited from class org.apache.pivot.wtk.ApplicationContext
origin
 
Constructor Summary
BrowserApplicationContext()
           
 
Method Summary
static Object eval(String script, Application application)
          Evaluates a script in the page context and returns the result.
static Application getApplication(String name)
          Retrieves a named application.
 
Methods inherited from class org.apache.pivot.wtk.ApplicationContext
beep, createTimer, destroyTimer, getApplication, getDisplay, getDisplayHost, getJVMVersion, getOrigin, getResourceCache, open, open, queueCallback, queueCallback, scheduleCallback, scheduleRecurringCallback, scheduleRecurringCallback, setApplication
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BrowserApplicationContext

public BrowserApplicationContext()
Method Detail

getApplication

public static Application getApplication(String name)
Retrieves a named application.

Parameters:
name - The name of the applet hosting the application.

eval

public static Object eval(String script,
                          Application application)
Evaluates a script in the page context and returns the result.

Parameters:
script -
application -