| 
 | 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.controls.completionfield.FileSystemFieldInsightProvider
oracle.javatools.controls.completionfield.FileSystemFieldInsightProvider
public class FileSystemFieldInsightProvider
Provides field insight for filenames.
| Constructor Summary | |
|---|---|
| FileSystemFieldInsightProvider() | |
| FileSystemFieldInsightProvider(boolean onlyDirectories) | |
| 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? | 
|  boolean | isOnlyDirectories() | 
| protected  boolean | isValid(java.io.File f)Is the specified file valid for inclusion in the list? Subclasses can override this to filter out certain files. | 
|  void | setOnlyDirectories(boolean onlyDirectories) | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public FileSystemFieldInsightProvider(boolean onlyDirectories)
public FileSystemFieldInsightProvider()
| Method Detail | 
|---|
public void setOnlyDirectories(boolean onlyDirectories)
public boolean isOnlyDirectories()
protected boolean isValid(java.io.File f)
public javax.swing.ListCellRenderer getCellRenderer()
FieldInsightProvidergetCellRenderer in interface FieldInsightProvider
public boolean handlesInsight(javax.swing.text.Document doc,
                              int pos)
FieldInsightProviderhandlesInsight in interface FieldInsightProviderdoc - 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 pos)
FieldInsightProvidergetInsightData in interface FieldInsightProviderdoc - the document to provide insight forpos - the current caret position within the document
public void completeInsight(javax.swing.text.Document doc,
                            int pos,
                            java.lang.Object insightObject)
FieldInsightProvidercompleteInsight in interface FieldInsightProviderdoc - the document to completepos - the position to complete atinsightObject - the insight object to complete withpublic boolean isAutoPopupChar(char c)
FieldInsightProviderisAutoPopupChar in interface FieldInsightProviderc - the character before the caret position.| 
 | 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 | |||||||||