|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FieldInsightProvider
A field insight provider is responsible for providing the insight completion list for an InsightTextField.
| Method Summary | |
|---|---|
void |
completeInsight(javax.swing.text.Document doc,
int pos,
java.lang.Object insightObject)
Complete insight for the specified position in the specified document, using the specified insight object. |
javax.swing.ListCellRenderer |
getCellRenderer()
Get the cell renderer used for the completion list this provider handles. |
java.lang.Object[] |
getInsightData(javax.swing.text.Document doc,
int pos)
Get insight data for the specified position in the specified document. |
boolean |
handlesInsight(javax.swing.text.Document doc,
int pos)
Does this provider handle insight for the specified document? This method is normally called when an insight trigger of some kind happens (e.g. |
boolean |
isAutoPopupChar(char c)
Should the specified character trigger an automatic popup completion list that might be handled by this insight provider? |
| Method Detail |
|---|
javax.swing.ListCellRenderer getCellRenderer()
boolean handlesInsight(javax.swing.text.Document doc,
int pos)
doc - the document of the component to provide insight forpos - the current caret position within the document
java.lang.Object[] getInsightData(javax.swing.text.Document doc,
int pos)
doc - the document to provide insight forpos - the current caret position within the document
void completeInsight(javax.swing.text.Document doc,
int pos,
java.lang.Object insightObject)
doc - the document to completepos - the position to complete atinsightObject - the insight object to complete withboolean isAutoPopupChar(char c)
c - the character before the caret position.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.4.0) E13403-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||