Interface BrowserApplicationConfiguration
- All Superinterfaces:
ApplicationTabConfiguration<BrowserApplicationConfiguration>
public interface BrowserApplicationConfiguration
extends ApplicationTabConfiguration<BrowserApplicationConfiguration>
Configuration builder to configure
browser applications.
Usage:
final BrowserApplicationConfiguration config = BrowserApplicationConfiguration.GENERATOR.invoke().icon(myIcon).title("myAppTitle");
- Since:
- 4.2.416
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Supplier<BrowserApplicationConfiguration>Generator to create a browser configuration instance.static final Generator<BrowserApplicationConfiguration>Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionengineType(@NotNull EngineType type) Sets the type of the browser engine to be used for thebrowser applicationconfigured with this browser configuration.Returns the type of the browser engine which should be used for the createdbrowser application.booleanIndicates whether thebrowser applicationtab which will be created based on this configuration should show an address bar or not.showAddressBar(boolean showAddressBar) Define whether thebrowser applicationtab which will be created based on this configuration should show an address bar or not.useEngineTypeDependentIcon(boolean useEngineTypeDependentIcon) Defines whether aengine typedependent icon should be used if no specialiconis set.Methods inherited from interface de.espirit.firstspirit.client.gui.applications.ApplicationTabConfiguration
appearance, getAppearance, getIdentifier, icon, identifier, openInBackground, openInBackground, title
-
Field Details
-
GENERATOR
Deprecated.since 5.2.231004 - UseCONFIG_GENERATORinsteadGenerator to create a browser configuration instance.- Since:
- 4.2.416
-
CONFIG_GENERATOR
Generator to create a browser configuration instance.- Since:
- 5.2.231004
-
-
Method Details
-
useEngineTypeDependentIcon
Defines whether aengine typedependent icon should be used if no specialiconis set.- Parameters:
useEngineTypeDependentIcon-trueto useengine typedependent icon,falseotherwise- Returns:
- this configuration instance (builder pattern)
- Since:
- 4.2.416
- See Also:
-
showAddressBar
Define whether thebrowser applicationtab which will be created based on this configuration should show an address bar or not.- Parameters:
showAddressBar- usetrueto show an address bar,falseotherwise- Returns:
- this configuration instance (builder pattern)
- Since:
- 4.2.416
- See Also:
-
showAddressBar
boolean showAddressBar()Indicates whether thebrowser applicationtab which will be created based on this configuration should show an address bar or not.- Returns:
trueif thebrowser applicationtab should have an address bar,falseotherwise- Since:
- 4.2.416
- See Also:
-
engineType
Sets the type of the browser engine to be used for thebrowser applicationconfigured with this browser configuration.- Parameters:
type- the browser engine type to be used- Returns:
- this configuration instance (builder pattern)
- Since:
- 4.2.416
- See Also:
-
getEngineType
EngineType getEngineType()Returns the type of the browser engine which should be used for the createdbrowser application.- Returns:
- the specified browser engine,
EngineType.DEFAULTif not specified - Since:
- 4.2.416
- See Also:
-
CONFIG_GENERATORinstead