|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ApplicationTabConfiguration<T extends ApplicationTabConfiguration<T>>
Configuration class for application tabs
.
Attention: This part of the API isn't released yet and may change during the ramp up time. It will be released with 4.2 Release 4.
ApplicationTab
,
ApplicationService.openApplication(ApplicationType, ApplicationTabConfiguration)
Method Summary | |
---|---|
ApplicationTabAppearance.Builder |
appearance()
Returns a builder to define tab appearance. |
ApplicationTabAppearance |
getAppearance()
The appearance for the application tab. |
Object |
getIdentifier()
Returns an identifier used to identify the application tab which will be
created based on this configuration. |
T |
icon(Icon icon)
Shortcut for ApplicationTabConfiguration.appearance() . |
T |
identifier(Object tabIdentifier)
Defines an identifier for the application tab which will be created based on this configuration. |
boolean |
openInBackground()
Indicates whether the tab which will be created based on this configuration should be opened in
background or not. |
T |
openInBackground(boolean openInBackground)
Defines whether the application tab which will created
based on this configuration will be opened in background or not. |
T |
title(String title)
Shortcut for ApplicationTabConfiguration.appearance() . |
Method Detail |
---|
Object getIdentifier()
application tab
which will be
created based on this configuration.
The identifier can be used to retrieve the application tab via ApplicationService.getApplication(ApplicationType, Object)
ApplicationService.getApplication(ApplicationType, Object)
T identifier(Object tabIdentifier)
application tab
which will be created based on this configuration.
The identifier can be used to retrieve the application tab via ApplicationService.getApplication(ApplicationType, Object)
tabIdentifier
- the identifier for the application tab created based on this configuration
ApplicationService.getApplication(ApplicationType, Object)
T title(String title)
ApplicationTabConfiguration.appearance()
.title(String)
title
- the title to be used for the created application tab
T icon(Icon icon)
ApplicationTabConfiguration.appearance()
.icon(javax.swing.Icon)
icon
- the icon to be used for the created application tab. Preferred size 20x20 pixel
@Nullable ApplicationTabAppearance getAppearance()
ApplicationTabConfiguration.appearance()
ApplicationTabAppearance.Builder appearance()
ApplicationTabConfiguration config; config.ApplicationTabConfiguration.appearance()
.title
("myTitle").icon
(myTabIcon);
T openInBackground(boolean openInBackground)
created
based on this configuration will be opened in background or not.
openInBackground
- true
to open created tab in background, false
otherwise
ApplicationTabConfiguration.openInBackground()
boolean openInBackground()
opened
in
background or not.
true
if the tab created based on this configuration should be opened in background, false
otherwise.ApplicationService.openApplication(ApplicationType, ApplicationTabConfiguration)
,
ApplicationTabConfiguration.openInBackground(boolean)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |