java.lang.Object |
↳ |
android.os.AsyncTask<Params, Progress, Result> |
|
↳ |
com.pdftron.pdf.asynctask.GenerateHighlightsTask |
Class Overview
A class that asynchronously generates highlights for all instances of a specified text in the document
Summary
[Expand]
Inherited Fields |
From class
android.os.AsyncTask
public
static
final
Executor |
SERIAL_EXECUTOR |
|
public
static
final
Executor |
THREAD_POOL_EXECUTOR |
|
|
Public Constructors |
|
GenerateHighlightsTask(PDFViewCtrl pdfViewCtrl, int pageStart, int pageEnd, String searchPattern, boolean matchCase, boolean matchWholeWords, boolean useRegularExpressions)
Class constructor
|
[Expand]
Inherited Methods |
From class
android.os.AsyncTask
final
boolean
|
cancel(boolean arg0)
|
final
AsyncTask<Params, Progress, Result>
|
execute(Params... arg0)
|
static
void
|
execute(Runnable arg0)
|
final
AsyncTask<Params, Progress, Result>
|
executeOnExecutor(Executor arg0, Params... arg1)
|
final
Result
|
get(long arg0, TimeUnit arg1)
|
final
Result
|
get()
|
final
AsyncTask.Status
|
getStatus()
|
final
boolean
|
isCancelled()
|
|
From class
java.lang.Object
boolean
|
equals(Object arg0)
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
Public Constructors
public
GenerateHighlightsTask
(PDFViewCtrl pdfViewCtrl, int pageStart, int pageEnd, String searchPattern, boolean matchCase, boolean matchWholeWords, boolean useRegularExpressions)
Parameters
pdfViewCtrl |
The PDFViewCtrl |
pageStart |
The start page to search |
pageEnd |
The end page to search |
searchPattern |
The search pattern |
matchCase |
True if it should match case |
matchWholeWords |
True if it should match the whole words |
useRegularExpressions |
True if it should use regular expressions
|
Public Methods
Sets the callback listener.
Sets the callback to null when the task is cancelled.
Parameters
callback |
The callback when the task is finished
|