public interface BrowserApplicationConfiguration extends ApplicationTabConfiguration<BrowserApplicationConfiguration>
browser applications.
Usage:
final BrowserApplicationConfiguration config = BrowserApplicationConfiguration.GENERATOR.invoke().icon(myIcon).title("myAppTitle");
BrowserApplication| Modifier and Type | Field and Description |
|---|---|
static Generator<BrowserApplicationConfiguration> |
GENERATOR
Generator to create a browser configuration instance.
|
| Modifier and Type | Method and Description |
|---|---|
BrowserApplicationConfiguration |
engineType(EngineType type)
Sets the type of the browser engine to be used for the
browser application configured
with this browser configuration. |
EngineType |
getEngineType()
Returns the type of the browser engine which should be used for the created
browser application. |
boolean |
showAddressBar()
Indicates whether the
browser application tab which will be created based on this configuration should show an address bar or not. |
BrowserApplicationConfiguration |
showAddressBar(boolean showAddressBar)
Define whether the
browser application tab which will be created based on this configuration should show an address bar or not. |
BrowserApplicationConfiguration |
useEngineTypeDependentIcon(boolean useEngineTypeDependentIcon)
Defines whether a
engine type dependent icon should be used if no special icon is set. |
appearance, getAppearance, getIdentifier, icon, identifier, openInBackground, openInBackground, titlestatic final Generator<BrowserApplicationConfiguration> GENERATOR
BrowserApplicationConfiguration useEngineTypeDependentIcon(boolean useEngineTypeDependentIcon)
engine type dependent icon should be used if no special icon is set.useEngineTypeDependentIcon - true to use engine type dependent icon, false otherwiseApplicationTabConfiguration.icon(javax.swing.Icon)BrowserApplicationConfiguration showAddressBar(boolean showAddressBar)
browser application tab which will be created based on this configuration should show an address bar or not.showAddressBar - use true to show an address bar, false otherwiseshowAddressBar()boolean showAddressBar()
browser application tab which will be created based on this configuration should show an address bar or not.true if the browser application tab should have an address bar, false otherwiseshowAddressBar(boolean)BrowserApplicationConfiguration engineType(@NotNull EngineType type)
browser application configured
with this browser configuration.type - the browser engine type to be usedgetEngineType()EngineType getEngineType()
browser application.EngineType.DEFAULT if not specifiedengineType(EngineType)Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408