public static interface ApplicationTabAppearance.Builder
final ApplicationTabAppearance appearance = ApplicationTabAppearance.GENERATOR.invoke().title("myTitle").get();
ApplicationTab.setAppearance(ApplicationTabAppearance)
Modifier and Type | Method and Description |
---|---|
ApplicationTabAppearance.Builder |
borderType(Store.Type borderType)
Defines the border type used for the colored border beneath the application tab button.
|
ApplicationTabAppearance.Builder |
fontStyle(ApplicationTabAppearance.FontStyle fontStyle)
Defines the
font style for the application tab
related to this tab appearance builder. |
ApplicationTabAppearance |
get()
Returns the
ApplicationTabAppearance object based on this builder. |
ApplicationTabAppearance.Builder |
icon(Icon icon)
Sets the icon for the application tab related to this tab appearance builder.
|
ApplicationTabAppearance.Builder |
title(String title)
Sets the title for the application tab related to this tab appearance builder.
|
ApplicationTabAppearance.Builder borderType(Store.Type borderType)
borderType
- the given store border type will be mapped to the store color (e.g. pagestore -> green, sitestore -> blue}ApplicationTabAppearance.Builder fontStyle(ApplicationTabAppearance.FontStyle fontStyle)
font style
for the application tab
related to this tab appearance builder. If not specified FontStyle#PLAIN
will be used.fontStyle
- the font style to be used for the application tabApplicationTabAppearance.Builder title(String title)
title
- the title to be used for the application tabApplicationTabAppearance.Builder icon(Icon icon)
icon
- the icon to be used for the application tabApplicationTabAppearance get()
ApplicationTabAppearance
object based on this builder.Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500