Interface ApplicationTabAppearance.Builder
- Enclosing interface:
- ApplicationTabAppearance
public static interface ApplicationTabAppearance.Builder
Configuration builder to configure tab appearance.
Usage:
Usage:
final ApplicationTabAppearance appearance = ApplicationTabAppearance.GENERATOR.invoke().title("myTitle").get();
- Since:
- 4.2.416
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionborderType
(Store.Type borderType) Defines the border type used for the colored border beneath the application tab button.fontStyle
(ApplicationTabAppearance.FontStyle fontStyle) Defines thefont style
for the application tab related to this tab appearance builder.get()
Returns theApplicationTabAppearance
object based on this builder.Sets the icon for the application tab related to this tab appearance builder.Sets the title for the application tab related to this tab appearance builder.
-
Method Details
-
borderType
Defines the border type used for the colored border beneath the application tab button. If not specified an uncolored border will be used.- Parameters:
borderType
- the given store border type will be mapped to the store color (e.g. pagestore -> green, sitestore -> blue}- Returns:
- this builder instance (builder pattern)
- Since:
- 4.2.416
-
fontStyle
Defines thefont style
for the application tab related to this tab appearance builder. If not specifiedFontStyle#PLAIN
will be used.- Parameters:
fontStyle
- the font style to be used for the application tab- Returns:
- this builder instance (builder pattern)
- Since:
- 4.2.416
-
title
Sets the title for the application tab related to this tab appearance builder.- Parameters:
title
- the title to be used for the application tab- Returns:
- this builder instance (builder pattern)
- Since:
- 4.2.416
-
icon
Sets the icon for the application tab related to this tab appearance builder.- Parameters:
icon
- the icon to be used for the application tab- Returns:
- this builder instance (builder pattern)
- Since:
- 4.2.416
-
get
ApplicationTabAppearance get()Returns theApplicationTabAppearance
object based on this builder.- Returns:
- the application tab appearance based on this builder
- Since:
- 4.2.416
-