Interface ApplicationTabAppearance
public interface ApplicationTabAppearance
Configuration interface defining the
appearance
of the
related application tab.- Since:
- 4.2.416
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Configuration builder to configure tab appearance.
Usage:static enum
The font style types. -
Field Summary
Modifier 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.FontStyle
The font style the tab text should displayed with.@Nullable Icon
getIcon()
The icon of the application tab that will be shown in tab button.@Nullable String
getTitle()
The title of the application tab that would be shown in tab button.
-
Field Details
-
GENERATOR
Deprecated.since 5.2.231004 - UseBUILDER_GENERATOR
insteadGenerator 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_GENERATOR
instead