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
Modifier 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 application
configured with this browser configuration.Returns the type of the browser engine which should be used for the createdbrowser application
.boolean
Indicates whether thebrowser application
tab which will be created based on this configuration should show an address bar or not.showAddressBar
(boolean showAddressBar) Define whether thebrowser application
tab which will be created based on this configuration should show an address bar or not.useEngineTypeDependentIcon
(boolean useEngineTypeDependentIcon) Defines whether aengine type
dependent icon should be used if no specialicon
is 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_GENERATOR
insteadGenerator 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 type
dependent icon should be used if no specialicon
is set.- Parameters:
useEngineTypeDependentIcon
-true
to useengine type
dependent icon,false
otherwise- Returns:
- this configuration instance (builder pattern)
- Since:
- 4.2.416
- See Also:
-
showAddressBar
Define whether thebrowser application
tab which will be created based on this configuration should show an address bar or not.- Parameters:
showAddressBar
- usetrue
to show an address bar,false
otherwise- Returns:
- this configuration instance (builder pattern)
- Since:
- 4.2.416
- See Also:
-
showAddressBar
boolean showAddressBar()Indicates whether thebrowser application
tab which will be created based on this configuration should show an address bar or not.- Returns:
true
if thebrowser application
tab should have an address bar,false
otherwise- Since:
- 4.2.416
- See Also:
-
engineType
Sets the type of the browser engine to be used for thebrowser application
configured 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.DEFAULT
if not specified - Since:
- 4.2.416
- See Also:
-
CONFIG_GENERATOR
instead