SearchHighlightOptions
Leave feedback
On this page
Inheritance: java.lang.Object
public final class SearchHighlightOptions
Provides options for searching and highlighting text in the documents, loaded to the Viewer class.
| Constructor | Description |
|---|---|
| SearchHighlightOptions() | |
| SearchHighlightOptions(String searchTerm, boolean searchTermRegEx, Argb32Color backgroundColor, Argb32Color foregroundColor) |
public SearchHighlightOptions()
SearchHighlightOptions(String searchTerm, boolean searchTermRegEx, Argb32Color backgroundColor, Argb32Color foregroundColor)
public SearchHighlightOptions(String searchTerm, boolean searchTermRegEx, Argb32Color backgroundColor, Argb32Color foregroundColor)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| searchTerm | java.lang.String | |
| searchTermRegEx | boolean | |
| backgroundColor | Argb32Color | |
| foregroundColor | Argb32Color |
public boolean isSearchTermRegEx()
Returns: boolean
public void setSearchTermRegEx(boolean searchTermRegEx)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| searchTermRegEx | boolean |
public String getSearchTerm()
Returns: java.lang.String
public void setSearchTerm(String searchTerm)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| searchTerm | java.lang.String |
public Argb32Color getBackgroundColor()
Returns: Argb32Color
public void setBackgroundColor(Argb32Color backgroundColor)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| backgroundColor | Argb32Color |
public Argb32Color getForegroundColor()
Returns: Argb32Color
public void setForegroundColor(Argb32Color foregroundColor)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| foregroundColor | Argb32Color |
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.