public static interface Tab.Callback
Modifier and Type | Method and Description |
---|---|
void |
onBackgroundColorChanged(Tab tab)
The method, which is invoked, when the tab's background color has been changed.
|
void |
onCloseableChanged(Tab tab)
The method, which is invoked, when it has been changed, whether the tab is closeable, or
not.
|
void |
onCloseButtonIconChanged(Tab tab)
The method, which is invoked, when the icon of the tab's close button has been changed.
|
void |
onContentBackgroundColorChanged(Tab tab)
The method, which is invoked, when the background color of the tab's content has been
changed.
|
void |
onIconChanged(Tab tab)
The method, which is invoked, when the tab's icon has been changed.
|
void |
onProgressBarColorChanged(Tab tab)
The method, which is invoked, when the color of the tab's progress bar has been changed.
|
void |
onProgressBarVisibilityChanged(Tab tab)
The method, which is invoked, when the visibility of the tab's progress bar has been
changed.
|
void |
onTitleChanged(Tab tab)
The method, which is invoked, when the tab's title has been changed.
|
void |
onTitleTextColorChanged(Tab tab)
The method, which is invoked, when the text color of the tab's title has been changed.
|
void onTitleChanged(@NonNull Tab tab)
tab
- The observed tab as an instance of the class Tab
. The tab may not be
nullvoid onIconChanged(@NonNull Tab tab)
tab
- The observed tab as an instance of the class Tab
. The tab may not be
nullvoid onCloseableChanged(@NonNull Tab tab)
tab
- The observed tab as an instance of the class Tab
. The tab may not be
nullvoid onCloseButtonIconChanged(@NonNull Tab tab)
tab
- The observed tab as an instance of the class Tab
. The tab may not be
nullvoid onBackgroundColorChanged(@NonNull Tab tab)
tab
- The observed tab as an instance of the class Tab
. The tab may not be
nullvoid onContentBackgroundColorChanged(@NonNull Tab tab)
tab
- The observed tab as an instance of the class Tab
. The tab may not be
nullvoid onTitleTextColorChanged(@NonNull Tab tab)
tab
- The observed tab as an instance of the class Tab
. The tab may not be
nullvoid onProgressBarVisibilityChanged(@NonNull Tab tab)
tab
- The observed tab as an instance of the class Tab
. The tab may not be
null