public class

DefaultOutlineViewListener

extends Object
implements PdfOutlineView.OnAnnotationTapListener PdfOutlineView.OnOutlineElementTapListener
java.lang.Object
   ↳ com.pspdfkit.ui.outline.DefaultOutlineViewListener

Class Overview

Default implementation of PdfOutlineView.OnOutlineElementTapListener and PdfOutlineView.OnAnnotationTapListener to handle interactions with annotations and outline in PdfOutlineView.

Summary

Public Constructors
DefaultOutlineViewListener(PdfFragment fragment)
Public Methods
void onAnnotationTap(PdfOutlineView self, Annotation annotation)
Called when an annotation was tapped inside the annotation list.
void onOutlineElementTap(PdfOutlineView self, OutlineElement outlineElement)
Called when an outline element was tapped.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.pspdfkit.ui.PdfOutlineView.OnAnnotationTapListener
From interface com.pspdfkit.ui.PdfOutlineView.OnOutlineElementTapListener

Public Constructors

public DefaultOutlineViewListener (PdfFragment fragment)

Public Methods

public void onAnnotationTap (PdfOutlineView self, Annotation annotation)

Called when an annotation was tapped inside the annotation list.

Parameters
self The PdfOutlineView instance that triggered the event.
annotation The Annotation that was tapped.

public void onOutlineElementTap (PdfOutlineView self, OutlineElement outlineElement)

Called when an outline element was tapped.

Parameters
self The PdfOutlineView instance that triggered the event.
outlineElement The OutlineElement that was tapped.