|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public static interface ApplicationTabAppearance.Builder
Configuration builder to configure tab appearance.
Usage:
final ApplicationTabAppearance appearance = ApplicationTabAppearance.GENERATOR.invoke().title("myTitle").get();
ApplicationTab.setAppearance(ApplicationTabAppearance)| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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 tab
ApplicationTabAppearance.Builder title(String title)
title - the title to be used for the application tab
ApplicationTabAppearance.Builder icon(Icon icon)
icon - the icon to be used for the application tab
ApplicationTabAppearance get()
ApplicationTabAppearance object based on this builder.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||