public class SearchTaskOptions
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
boolean |
caseSensitive |
int |
contextOneSideLength |
int |
criticalAmountOfSearchResults |
static int |
DEFAULT_CRITICAL_AMOUNT_OF_SEARCH_RESULTS |
int |
leftBoundCaretPageOffset |
long |
leftBoundPageNumber |
boolean |
loopedPhase |
static int |
NO_LIMIT |
boolean |
regularExpression |
int |
rightBoundCaretPageOffset |
long |
rightBoundPageNumber |
boolean |
searchForwardDirection |
java.lang.String |
stringToFind |
boolean |
wholeWords |
Constructor and Description |
---|
SearchTaskOptions() |
Modifier and Type | Method and Description |
---|---|
SearchTaskOptions |
clone() |
FindModel |
generateFindModel() |
SearchTaskOptions |
setCaseSensetive(boolean caseSensitive) |
SearchTaskOptions |
setContextOneSideLength(int contextOneSideLength) |
SearchTaskOptions |
setCriticalAmountOfSearchResults(int criticalAmountOfSearchResults) |
SearchTaskOptions |
setRegularExpression(boolean regularExpression) |
SearchTaskOptions |
setSearchBounds(long leftBoundPageNumber,
int leftBoundCaretPageOffset,
long rightBoundPageNumber,
int rightBoundCaretPageOffset) |
SearchTaskOptions |
setSearchDirectionForward(boolean forward) |
SearchTaskOptions |
setStringToFind(java.lang.String stringToFind) |
SearchTaskOptions |
setWholeWords(boolean wholeWords) |
java.lang.String |
toString() |
public static final int DEFAULT_CRITICAL_AMOUNT_OF_SEARCH_RESULTS
public static final int NO_LIMIT
public java.lang.String stringToFind
public boolean loopedPhase
public long leftBoundPageNumber
public int leftBoundCaretPageOffset
public long rightBoundPageNumber
public int rightBoundCaretPageOffset
public boolean searchForwardDirection
public boolean caseSensitive
public boolean wholeWords
public boolean regularExpression
public int contextOneSideLength
public int criticalAmountOfSearchResults
public SearchTaskOptions setStringToFind(java.lang.String stringToFind)
public SearchTaskOptions setSearchBounds(long leftBoundPageNumber, int leftBoundCaretPageOffset, long rightBoundPageNumber, int rightBoundCaretPageOffset)
public SearchTaskOptions setCaseSensetive(boolean caseSensitive)
public SearchTaskOptions setWholeWords(boolean wholeWords)
public SearchTaskOptions setRegularExpression(boolean regularExpression)
public SearchTaskOptions setSearchDirectionForward(boolean forward)
public SearchTaskOptions setContextOneSideLength(int contextOneSideLength)
public SearchTaskOptions setCriticalAmountOfSearchResults(int criticalAmountOfSearchResults)
public SearchTaskOptions clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public java.lang.String toString()
toString
in class java.lang.Object
public FindModel generateFindModel()