public class

RedactionSearchResultsView

extends SearchResultsView
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.RelativeLayout
         ↳ com.pdftron.pdf.controls.SearchResultsView
           ↳ com.pdftron.pdf.widget.redaction.RedactionSearchResultsView

Class Overview

Search result view used for redaction.

Summary

Nested Classes
interface RedactionSearchResultsView.RedactionSearchResultsListener  
[Expand]
Inherited Constants
From class android.widget.RelativeLayout
From class android.view.ViewGroup
From class android.view.View
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
RedactionSearchResultsView(Context context)
RedactionSearchResultsView(Context context, AttributeSet attrs)
RedactionSearchResultsView(Context context, AttributeSet attrs, int defStyleAttr)
Public Methods
void deselectAll()
Rect getRectForResult(TextSearchResult result)
ArrayList<Pair<Integer, ArrayList<Double>>> getSelections()
boolean isAllSelected()
void restartSearch()
Starts a new search
void selectAll()
void setRedactionSearchResultsListener(RedactionSearchResultsView.RedactionSearchResultsListener listener)
Sets the listener
void toggleSelection()
[Expand]
Inherited Methods
From class com.pdftron.pdf.controls.SearchResultsView
From class android.widget.RelativeLayout
From class android.view.ViewGroup
From class android.view.View
From class java.lang.Object
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.ViewManager
From interface android.view.ViewParent
From interface android.view.accessibility.AccessibilityEventSource
From interface com.pdftron.pdf.asynctask.FindTextTask.Callback

Public Constructors

public RedactionSearchResultsView (Context context)

public RedactionSearchResultsView (Context context, AttributeSet attrs)

public RedactionSearchResultsView (Context context, AttributeSet attrs, int defStyleAttr)

Public Methods

public void deselectAll ()

public Rect getRectForResult (TextSearchResult result)

public ArrayList<Pair<Integer, ArrayList<Double>>> getSelections ()

public boolean isAllSelected ()

public void restartSearch ()

Starts a new search

public void selectAll ()

public void setRedactionSearchResultsListener (RedactionSearchResultsView.RedactionSearchResultsListener listener)

Sets the listener

public void toggleSelection ()