public static class Filter.ResultItem
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
TextAttributes |
highlightAttributes
Deprecated.
use
getHighlightAttributes() instead, the visibility of this field will be decreased. |
HyperlinkInfo |
hyperlinkInfo
Deprecated.
use
getHyperlinkInfo() instead, the visibility of this field will be decreased. |
Constructor and Description |
---|
ResultItem(int highlightStartOffset,
int highlightEndOffset,
HyperlinkInfo hyperlinkInfo) |
ResultItem(int highlightStartOffset,
int highlightEndOffset,
HyperlinkInfo hyperlinkInfo,
boolean grayedHyperlink) |
ResultItem(int highlightStartOffset,
int highlightEndOffset,
HyperlinkInfo hyperlinkInfo,
TextAttributes highlightAttributes) |
ResultItem(int highlightStartOffset,
int highlightEndOffset,
HyperlinkInfo hyperlinkInfo,
TextAttributes highlightAttributes,
TextAttributes followedHyperlinkAttributes) |
Modifier and Type | Method and Description |
---|---|
TextAttributes |
getFollowedHyperlinkAttributes() |
TextAttributes |
getHighlightAttributes() |
int |
getHighlightEndOffset() |
int |
getHighlighterLayer()
See
HighlighterLayer for available predefined layers. |
int |
getHighlightStartOffset() |
HyperlinkInfo |
getHyperlinkInfo() |
@Deprecated public final TextAttributes highlightAttributes
getHighlightAttributes()
instead, the visibility of this field will be decreased.@Deprecated public final HyperlinkInfo hyperlinkInfo
getHyperlinkInfo()
instead, the visibility of this field will be decreased.public ResultItem(int highlightStartOffset, int highlightEndOffset, HyperlinkInfo hyperlinkInfo)
public ResultItem(int highlightStartOffset, int highlightEndOffset, HyperlinkInfo hyperlinkInfo, TextAttributes highlightAttributes)
public ResultItem(int highlightStartOffset, int highlightEndOffset, HyperlinkInfo hyperlinkInfo, boolean grayedHyperlink)
public ResultItem(int highlightStartOffset, int highlightEndOffset, HyperlinkInfo hyperlinkInfo, TextAttributes highlightAttributes, TextAttributes followedHyperlinkAttributes)
public int getHighlightStartOffset()
public int getHighlightEndOffset()
public TextAttributes getHighlightAttributes()
public TextAttributes getFollowedHyperlinkAttributes()
public HyperlinkInfo getHyperlinkInfo()
public int getHighlighterLayer()
HighlighterLayer
for available predefined layers.