Package de.espirit.firstspirit.client.gui.applications
package de.espirit.firstspirit.client.gui.applications
Provides interfaces and types to control the java client application area.
This package provides types, interfaces and classes, that are to be used for controlling the application area in java client.
This package provides types, interfaces and classes, that are to be used for controlling the application area in java client.
- Since:
- 4.2.416
- Example:
- Example how to create a simple browser based application
import de.espirit.firstspirit.client.gui.applications.browser.*; import de.espirit.firstspirit.access.ServicesBroker; import de.espirit.firstspirit.client.gui.applications.ApplicationService; import de.espirit.firstspirit.client.gui.applications.ApplicationTab; /** * Examples how to create a browser application. * * @since 4.2.416 */ public class BrowserApplicationExample { /** * Opens a browser application tab with the given title and opens the given url. * * @since 4.2.416 */ public BrowserApplication createBrowserApplication(final ServicesBroker serviceBroker, final String title) { final ApplicationService appService = serviceBroker.getService(ApplicationService.class); // new browser configuration final BrowserApplicationConfiguration config = BrowserApplicationConfiguration.GENERATOR.invoke() // the title for the application tab .title(title) // use chrome as engine type for the browser application .engineType(EngineType.CHROME); // open an application tab of type browser final ApplicationTab<BrowserApplication> browserTab = appService.openApplication(BrowserApplication.TYPE, config); // get the browser application final BrowserApplication browserApplication = browserTab.getApplication(); // open www.e-spirit.de in the created browser application browserApplication.openUrl("www.e-spirit.de"); return browserApplication; } }
-
ClassDescriptionClient service to
open
tab applicationsConfiguration interface defining theappearance
of the related application tab.Configuration builder to configure tab appearance.
Usage:The font style types.ApplicationTabConfiguration<T extends ApplicationTabConfiguration<T>>Configuration class forapplication tabs
.ApplicationType<T,C extends ApplicationTabConfiguration> Token representing an application type.Interface providing utility methods forelement nodes
returned byBrowserApplication.getCurrentDocument()
Interface providing methods for node based actions.Handler for browser node based user interaction.Builder for creating and binding aBrowserNodeHandler
.Interface providing access to drag context.A drag listener receiving information on drag events.A drop handler receiving information on drop events.Decorator for registered elements.Selection mode for the registered nodesException thrown during access on nodes of documents delivered viaBrowserApplication
.getCurrentDocument()
if the document isn't reachable any more (e.g. browser already navigated to different url).MultiApplication interface to open and control multiple applications.Configuration builder to configuremulti applications
.Swingapplication interface to open and control a swing application.Configuration builder to configureswing applications
.Factory to create acomponent
.This interface can be used to be informed about tab changes of a specificapplication tab
inside the tab application area.An abstract adapter class for receiving tablistener events.