Uses of Interface
org.apache.pivot.wtk.Application
-
Packages that use Application Package Description org.apache.pivot.wtk Contains classes that define the structure and behavior of WTK user interface components. -
-
Uses of Application in org.apache.pivot.wtk
Subinterfaces of Application in org.apache.pivot.wtk Modifier and Type Interface Description interface
ApplicationWithProperties
Represents the entry point for a WTK application that has a container for application-scope properties.Classes in org.apache.pivot.wtk that implement Application Modifier and Type Class Description static class
Application.Adapter
Deprecated.Since 2.1 and Java 8 the interface itself has default implementations.static class
ApplicationWithProperties.Adapter
ApplicationWithProperties adapter.class
ScriptApplication
Script application loader.Fields in org.apache.pivot.wtk with type parameters of type Application Modifier and Type Field Description protected static ArrayList<Application>
ApplicationContext. applications
Methods in org.apache.pivot.wtk that return Application Modifier and Type Method Description static Application
BrowserApplicationContext. getApplication(java.lang.String name)
Retrieves a named application.Application
BrowserApplicationContext.HostApplet. getApplication()
Methods in org.apache.pivot.wtk with parameters of type Application Modifier and Type Method Description static java.lang.Object
BrowserApplicationContext. eval(java.lang.String script, Application application)
Evaluates a script in the page context and returns the result.static void
DesktopApplicationContext. main(Application applicationInstance)
Utility method to make it easier to definemain()
entry-points into applications.
This is useful if application instance has already been created, for example from a scripting environment and I set some external properties in the application for later reuse, so I must use that instance.
But it's important to NOT call usual methods of application lifecycle before passing it here, to avoid side effects.static void
DesktopApplicationContext. main(Application applicationInstance, java.lang.String[] applicationArgs)
Utility method to make it easier to definemain()
entry-points into applications.
This is useful if application instance has already been created, for example from a scripting environment and I set some external properties in the application for later reuse, so I must use that instance.
But it's important to NOT call usual methods of application lifecycle before passing it here, to avoid side effects.Method parameters in org.apache.pivot.wtk with type arguments of type Application Modifier and Type Method Description static void
DesktopApplicationContext. main(java.lang.Class<? extends Application> applicationClass)
Utility method to make it easier to definemain()
entry-points into applications.static void
DesktopApplicationContext. main(java.lang.Class<? extends Application> applicationClass, java.lang.String[] applicationArgs)
/** Utility method to make it easier to definemain()
entry-points into applications.
-