Interface ApplicationTabConfiguration<T extends ApplicationTabConfiguration<T>>
- All Known Subinterfaces:
BrowserApplicationConfiguration
,MultiApplicationConfiguration
,SwingApplicationConfiguration
public interface ApplicationTabConfiguration<T extends ApplicationTabConfiguration<T>>
Configuration class for
application tabs
.- Since:
- 4.2.416
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns a builder to define tab appearance.@Nullable ApplicationTabAppearance
The appearance for the application tab.Returns an identifier used to identify theapplication tab
which will be created based on this configuration.Shortcut forappearance()
.icon(javax.swing.Icon)
identifier
(Object tabIdentifier) Defines an identifier for theapplication tab
which will be created based on this configuration.boolean
Indicates whether the tab which will be created based on this configuration should beopened
in background or not.openInBackground
(boolean openInBackground) Defines whether the application tab which willcreated
based on this configuration will be opened in background or not.Shortcut forappearance()
.title(String)
-
Method Details
-
getIdentifier
Object getIdentifier()Returns an identifier used to identify theapplication tab
which will be created based on this configuration. The identifier can be used to retrieve the application tab viaApplicationService.getApplication(ApplicationType, Object)
- Returns:
- the application tab identifier
- Since:
- 4.2.416
- See Also:
-
identifier
Defines an identifier for theapplication tab
which will be created based on this configuration. The identifier can be used to retrieve the application tab viaApplicationService.getApplication(ApplicationType, Object)
- Parameters:
tabIdentifier
- the identifier for the application tab created based on this configuration- Returns:
- this configuration instance (builder pattern)
- Since:
- 4.2.416
- See Also:
-
title
Shortcut forappearance()
.title(String)
- Parameters:
title
- the title to be used for the created application tab- Returns:
- this configuration instance (builder pattern)
- Since:
- 4.2.416
-
icon
Shortcut forappearance()
.icon(javax.swing.Icon)
- Parameters:
icon
- the icon to be used for the created application tab. Preferred size 20x20 pixel- Returns:
- this configuration instance (builder pattern)
- Since:
- 4.2.416
-
getAppearance
The appearance for the application tab.- Returns:
- tab appearance
- Since:
- 4.2.416
- See Also:
-
appearance
ApplicationTabAppearance.Builder appearance()Returns a builder to define tab appearance.
Usage:
ApplicationTabConfiguration config; config.appearance().
title
("myTitle").icon
(myTabIcon);- Returns:
- the builder for the tab appearance
- Since:
- 4.2.416
-
openInBackground
Defines whether the application tab which willcreated
based on this configuration will be opened in background or not.- Parameters:
openInBackground
-true
to open created tab in background,false
otherwise- Returns:
- this configuration instance (builder pattern)
- Since:
- 4.2.416
- See Also:
-
openInBackground
boolean openInBackground()Indicates whether the tab which will be created based on this configuration should beopened
in background or not.- Returns:
true
if the tab created based on this configuration should be opened in background,false
otherwise.- Since:
- 4.2.416
- See Also:
-