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