public class

SearchRedactionDialogFragment

extends DialogFragment
implements SearchResultsView.SearchResultsListener RedactionSearchResultsView.RedactionSearchResultsListener
java.lang.Object
   ↳ DialogFragment
     ↳ com.pdftron.pdf.dialog.redaction.SearchRedactionDialogFragment

Class Overview

Used for mark redaction annotation with search result. A PDFViewCtrl must be supplied.

Summary

Fields
public static final String TAG
Public Constructors
SearchRedactionDialogFragment()
Public Methods
static SearchRedactionDialogFragment newInstance()
View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
void onFullTextSearchStart()
Called when full text search has started.
boolean onMenuItemClick(MenuItem item)
void onRedactionSearchStart()
Called when a new search has started.
void onSearchResultClicked(TextSearchResult result)
Called when an item from the full document text search has been clicked.
void onSearchResultFound(TextSearchResult result)
Called when a text search result has been found.
void setPdfViewCtrl(PDFViewCtrl pdfViewCtrl)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.pdftron.pdf.controls.SearchResultsView.SearchResultsListener
From interface com.pdftron.pdf.widget.redaction.RedactionSearchResultsView.RedactionSearchResultsListener

Fields

public static final String TAG

Public Constructors

public SearchRedactionDialogFragment ()

Public Methods

public static SearchRedactionDialogFragment newInstance ()

public View onCreateView (LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)

public void onFullTextSearchStart ()

Called when full text search has started.

public boolean onMenuItemClick (MenuItem item)

public void onRedactionSearchStart ()

Called when a new search has started.

public void onSearchResultClicked (TextSearchResult result)

Called when an item from the full document text search has been clicked.

Parameters
result The text search result

public void onSearchResultFound (TextSearchResult result)

Called when a text search result has been found.

Parameters
result The text search result

public void setPdfViewCtrl (PDFViewCtrl pdfViewCtrl)