public static class KernelSearchResultProducer.KernelSearchResult extends SearchResult
Constructor and Description |
---|
KernelSearchResultProducer.KernelSearchResult(SearchResultProducer provider,
IcyAbstractAction action,
java.lang.String[] searchWords,
int priority) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SearchResult o)
Default implementation
|
void |
execute()
Executes the associated action for this result.
|
void |
executeAlternate()
Executes the associated alternate action (right mouse button) for this result.
|
IcyAbstractAction |
getAction() |
java.lang.String |
getDescription()
Returns the description of the result.
|
java.awt.Image |
getImage()
Returns the image of the result (can be null).
|
org.pushingpixels.flamingo.api.common.RichTooltip |
getRichToolTip()
Get the RichTooltip associated to the result.
|
java.lang.String |
getTitle()
Returns the title of the result.
|
java.lang.String |
getTooltip()
Returns the tooltip that will be displayed for this result.
|
boolean |
isEnabled()
Returns enabled state of the result.
|
getProducer
public KernelSearchResultProducer.KernelSearchResult(SearchResultProducer provider, IcyAbstractAction action, java.lang.String[] searchWords, int priority)
public IcyAbstractAction getAction()
public java.awt.Image getImage()
SearchResult
getImage
in class SearchResult
public java.lang.String getTitle()
SearchResult
getTitle
in class SearchResult
public java.lang.String getDescription()
SearchResult
getDescription
in class SearchResult
public java.lang.String getTooltip()
SearchResult
getTooltip
in class SearchResult
public boolean isEnabled()
SearchResult
isEnabled
in class SearchResult
public void execute()
SearchResult
execute
in class SearchResult
public org.pushingpixels.flamingo.api.common.RichTooltip getRichToolTip()
SearchResult
getRichToolTip
in class SearchResult
public void executeAlternate()
SearchResult
executeAlternate
in class SearchResult
public int compareTo(SearchResult o)
SearchResult
compareTo
in interface java.lang.Comparable<SearchResult>
compareTo
in class SearchResult