| com.pdftron.pdf.PDFViewCtrl.TextSearchListener |
Known Indirect Subclasses
|
Used for receiving notifications in UI thread during the process of text search.
A text search thread can be started via findText(String, boolean, boolean, boolean, boolean).
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract void |
onTextSearchEnd(PDFViewCtrl.TextSearchResult result)
Called in UI thread after the text search thread stops.
| ||||||||||
| abstract void |
onTextSearchProgress(int progress)
Called regularly in UI thread while the text search thread is
running.
| ||||||||||
| abstract void |
onTextSearchStart()
Called in UI thread immediately before the text search thread begins.
| ||||||||||
Called in UI thread after the text search thread stops.
| result | search result. |
|---|
Called regularly in UI thread while the text search thread is running. This is useful for UI updating, say a progress bar.
| progress | progress indicator in the range [0, 100] |
|---|
Called in UI thread immediately before the text search thread begins.