public static class Filter.Result extends Filter.ResultItem
highlightAttributes, hyperlinkInfo| Constructor and Description |
|---|
Result(int highlightStartOffset,
int highlightEndOffset,
HyperlinkInfo hyperlinkInfo) |
Result(int highlightStartOffset,
int highlightEndOffset,
HyperlinkInfo hyperlinkInfo,
boolean grayedHyperlink) |
Result(int highlightStartOffset,
int highlightEndOffset,
HyperlinkInfo hyperlinkInfo,
TextAttributes highlightAttributes) |
Result(int highlightStartOffset,
int highlightEndOffset,
HyperlinkInfo hyperlinkInfo,
TextAttributes highlightAttributes,
TextAttributes followedHyperlinkAttributes) |
Result(java.util.List<? extends Filter.ResultItem> resultItems) |
| Modifier and Type | Method and Description |
|---|---|
HyperlinkInfo |
getFirstHyperlinkInfo() |
TextAttributes |
getHighlightAttributes()
Deprecated.
This method will be removed. Result may be constructed using ResultItems, in that case this method will return incorrect value. Use
getResultItems() instead. |
int |
getHighlightEndOffset()
Deprecated.
This method will be removed. Result may be constructed using ResultItems, in that case this method will return incorrect value. Use
getResultItems() instead. |
int |
getHighlightStartOffset()
Deprecated.
This method will be removed. Result may be constructed using ResultItems, in that case this method will return incorrect value. Use
getResultItems() instead. |
HyperlinkInfo |
getHyperlinkInfo()
Deprecated.
This method will be removed. Result may be constructed using ResultItems, in that case this method will return incorrect value. Use
getResultItems() or getFirstHyperlinkInfo() instead. |
Filter.NextAction |
getNextAction() |
java.util.List<Filter.ResultItem> |
getResultItems() |
void |
setNextAction(Filter.NextAction nextAction) |
getFollowedHyperlinkAttributes, getHighlighterLayerpublic Result(int highlightStartOffset,
int highlightEndOffset,
HyperlinkInfo hyperlinkInfo)
public Result(int highlightStartOffset,
int highlightEndOffset,
HyperlinkInfo hyperlinkInfo,
TextAttributes highlightAttributes)
public Result(int highlightStartOffset,
int highlightEndOffset,
HyperlinkInfo hyperlinkInfo,
TextAttributes highlightAttributes,
TextAttributes followedHyperlinkAttributes)
public Result(int highlightStartOffset,
int highlightEndOffset,
HyperlinkInfo hyperlinkInfo,
boolean grayedHyperlink)
public Result(java.util.List<? extends Filter.ResultItem> resultItems)
public java.util.List<Filter.ResultItem> getResultItems()
@Deprecated public int getHighlightStartOffset()
getResultItems() instead.getHighlightStartOffset in class Filter.ResultItem@Deprecated public int getHighlightEndOffset()
getResultItems() instead.getHighlightEndOffset in class Filter.ResultItem@Deprecated public TextAttributes getHighlightAttributes()
getResultItems() instead.getHighlightAttributes in class Filter.ResultItem@Deprecated public HyperlinkInfo getHyperlinkInfo()
getResultItems() or getFirstHyperlinkInfo() instead.getHyperlinkInfo in class Filter.ResultItempublic HyperlinkInfo getFirstHyperlinkInfo()
public Filter.NextAction getNextAction()
public void setNextAction(Filter.NextAction nextAction)