Interface ApplicationTabAppearance
public interface ApplicationTabAppearance
Configuration interface defining the
appearance of the
related application tab.- Since:
- 4.2.416
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceConfiguration builder to configure tab appearance.
Usage:static enumThe font style types. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Supplier<ApplicationTabAppearance.Builder>Generator to create a new tab appearancebuilder.static final Generator<ApplicationTabAppearance.Builder>Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionThe type of colored border line between main and sub tabs related to the store color specified by the store type.@Nullable ApplicationTabAppearance.FontStyleThe font style the tab text should displayed with.@Nullable IcongetIcon()The icon of the application tab that will be shown in tab button.@Nullable StringgetTitle()The title of the application tab that would be shown in tab button.
-
Field Details
-
GENERATOR
Deprecated.since 5.2.231004 - UseBUILDER_GENERATORinsteadGenerator to create a new tab appearancebuilder.- Since:
- 4.2.416
-
BUILDER_GENERATOR
Generator to create a new tab appearancebuilder.- Since:
- 5.2.231004
-
-
Method Details
-
getBorderType
The type of colored border line between main and sub tabs related to the store color specified by the store type. Only has an effect if set for main tabs.- Returns:
- type of border
- Since:
- 4.2.416
- See Also:
-
getFontStyle
The font style the tab text should displayed with. Default:FontStyle#PLAIN- Returns:
- font style of tab title
- Since:
- 4.2.416
- See Also:
-
getTitle
The title of the application tab that would be shown in tab button.- Returns:
- tab title
- Since:
- 4.2.416
- See Also:
-
getIcon
The icon of the application tab that will be shown in tab button.- Returns:
- tab icon.
- Since:
- 4.2.416
- See Also:
-
BUILDER_GENERATORinstead