public abstract class TooltipInsightData extends java.lang.Object implements ListInsightData
TooltipInsightData interface contains public API routines for an InsightData model that is based on a list model, and is used for displaying tooltip (hint) information only. As a result, no-op implementations have been provided for methods that only apply to a completion insight implementation.
Note that this is provided for convenience, and is not required for use with TooltipInsightView. Your implementation may implement ListInsightData directly instead.
InsightData, ListInsightData| Constructor and Description | 
|---|
TooltipInsightData()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
complete(java.lang.Object selectedObject)
Perform an Insight completion in the user's document using this particular data item (i.e., the selected item in the InsightView). 
 | 
abstract java.lang.Object[] | 
getData()
Fetches the list of data items contains in this InsightData instance. 
 | 
java.lang.Object | 
getDefault()
Fetches the data item which should be selected in the view by default. 
 | 
abstract javax.swing.ListModel | 
getListModel()
Fetch a ListModel instance which represents this data model so that it can be displayed in a JList. 
 | 
java.lang.Object[] | 
getMatchingData()
Fetches a subset of the list of data items in this InsightData which matches what the user has typed so far. 
 | 
int | 
getMatchingDataCount()
Fetches the count of data items in this InsightData which matches what the user has typed so far. 
 | 
void | 
partialComplete()
Performs a partial Insight completion in the user's document based on the text entered in the user's document so far and the information available in this InsightData instance. 
 | 
public abstract javax.swing.ListModel getListModel()
getListModel in interface ListInsightDatapublic abstract java.lang.Object[] getData()
getData in interface InsightDatapublic java.lang.Object[] getMatchingData()
getData(). As with getData(), these data items may be opaque.getMatchingData in interface InsightDatapublic int getMatchingDataCount()
getMatchingDataCount in interface InsightDatapublic java.lang.Object getDefault()
getDefault in interface InsightDatapublic boolean complete(java.lang.Object selectedObject)
complete in interface InsightDataselectedObject - object from the data set to use for completionpublic void partialComplete()
partialComplete in interface InsightData