| 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.ide.db.util.insight.InsightManager
public class InsightManager
| Constructor Summary | |
|---|---|
InsightManager(javax.swing.text.JTextComponent comp,
               InsightProvider insightProvider)
 | 
|
| Method Summary | |
|---|---|
 void | 
addToInsightTextField(java.lang.String text)
Adds the given text to the registered expression text component.  | 
 void | 
clearUndo()
 | 
 void | 
completeInsight(javax.swing.text.Document doc,
                int i,
                java.lang.Object insert)
Complete insight for the specified position in the specified document, using the specified insight object.  | 
 void | 
focusGained(java.awt.event.FocusEvent e)
 | 
 void | 
focusLost(java.awt.event.FocusEvent e)
 | 
 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 i)
Get insight data for the specified position in the specified document.  | 
 javax.swing.text.JTextComponent | 
getInsightTextComponent()
 | 
 CompletionPopupHandler | 
getPopupHandler()
 | 
 InsightProvider | 
getQueryInsightParser()
 | 
 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?  | 
 void | 
setQueryInsightParser(InsightProvider insightProvider)
 | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public InsightManager(javax.swing.text.JTextComponent comp,
                      InsightProvider insightProvider)
| Method Detail | 
|---|
public javax.swing.text.JTextComponent getInsightTextComponent()
public InsightProvider getQueryInsightParser()
public void setQueryInsightParser(InsightProvider insightProvider)
public javax.swing.ListCellRenderer getCellRenderer()
CompletionProvider
getCellRenderer in interface CompletionProvider
public boolean handlesInsight(javax.swing.text.Document doc,
                              int pos)
CompletionProvider
handlesInsight in interface CompletionProviderdoc - the document of the component to provide insight forpos - the current caret position within the document
public java.lang.Object[] getInsightData(javax.swing.text.Document doc,
                                         int i)
CompletionProvider
getInsightData in interface CompletionProviderdoc - the document to provide insight fori - the current caret position within the document
public void completeInsight(javax.swing.text.Document doc,
                            int i,
                            java.lang.Object insert)
CompletionProvider
completeInsight in interface CompletionProviderdoc - the document to completei - the position to complete atinsert - the insight object to complete withpublic boolean isAutoPopupChar(char c)
CompletionProvider
isAutoPopupChar in interface CompletionProviderc - the character before the caret position.public void addToInsightTextField(java.lang.String text)
public void clearUndo()
public void focusGained(java.awt.event.FocusEvent e)
focusGained in interface java.awt.event.FocusListenerpublic void focusLost(java.awt.event.FocusEvent e)
focusLost in interface java.awt.event.FocusListenerpublic CompletionPopupHandler getPopupHandler()
  | 
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.1.0) E17493-02  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||