Package com.pspdfkit.ui.tabs
Interface PdfTabBar.OnTabClickedListener
-
- All Implemented Interfaces:
public interface PdfTabBar.OnTabClickedListener
Listener for clicks on tabs and their close buttons.
-
-
Method Summary
Modifier and Type Method Description abstract boolean
onTabClicked(@NonNull() PdfTabBarItem tabBarItem)
Called when tab bar item has been clicked. abstract boolean
onCloseButtonClicked(@NonNull() PdfTabBarItem tabBarItem)
Called when tab close button has been clicked. -
-
Method Detail
-
onTabClicked
abstract boolean onTabClicked(@NonNull() PdfTabBarItem tabBarItem)
Called when tab bar item has been clicked.
- Parameters:
tabBarItem
- Clicked tab bar item.- Returns:
true
if the click even should be consumed,false
to pass processing further in the listeners chain.
-
onCloseButtonClicked
abstract boolean onCloseButtonClicked(@NonNull() PdfTabBarItem tabBarItem)
Called when tab close button has been clicked.
- Parameters:
tabBarItem
- Tab bar item which close button has been clicked.- Returns:
true
if the click even should be consumed,false
to pass processing further in the listeners chain.
-
-
-
-