|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.javatools.editor.insight.TooltipInsightData
public abstract class TooltipInsightData
The 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 Summary | |
|---|---|
TooltipInsightData() |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TooltipInsightData()
| Method Detail |
|---|
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
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||