org.apache.pivot.wtk
Class BrowserApplicationContext
java.lang.Object
org.apache.pivot.wtk.ApplicationContext
org.apache.pivot.wtk.BrowserApplicationContext
public final class BrowserApplicationContext
- extends ApplicationContext
Application context used to execute applications in a web browser.
Methods inherited from class org.apache.pivot.wtk.ApplicationContext |
applyStylesheet, createTimer, defaultUncaughtExceptionHandler, destroyTimer, getDisplays, getJavaVersion, getJVMVersion, getOrigin, getPivotVersion, getResourceCache, handleUncaughtException, invalidateDisplays, queueCallback, queueCallback, scheduleCallback, scheduleRecurringCallback, scheduleRecurringCallback |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BrowserApplicationContext
public BrowserApplicationContext()
isActive
public static boolean isActive()
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
-