@Deprecated public class FileSystemFieldInsightProvider extends java.lang.Object implements FieldInsightProvider
| Constructor and Description |
|---|
FileSystemFieldInsightProvider()
Deprecated.
|
FileSystemFieldInsightProvider(boolean onlyDirectories)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
completeInsight(javax.swing.text.Document doc,
int pos,
java.lang.Object insightObject)
Deprecated.
Complete insight for the specified position in the specified document,
using the specified insight object.
|
javax.swing.ListCellRenderer |
getCellRenderer()
Deprecated.
Get the cell renderer used for the completion list this provider handles.
|
java.lang.Object[] |
getInsightData(javax.swing.text.Document doc,
int pos)
Deprecated.
Get insight data for the specified position in the specified document.
|
boolean |
handlesInsight(javax.swing.text.Document doc,
int pos)
Deprecated.
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)
Deprecated.
Should the specified character trigger an automatic popup completion
list that might be handled by this insight provider?
|
boolean |
isOnlyDirectories()
Deprecated.
|
protected boolean |
isValid(java.io.File f)
Deprecated.
Is the specified file valid for inclusion in the list? Subclasses can
override this to filter out certain files.
|
void |
setOnlyDirectories(boolean onlyDirectories)
Deprecated.
|
public FileSystemFieldInsightProvider(boolean onlyDirectories)
public FileSystemFieldInsightProvider()
public void setOnlyDirectories(boolean onlyDirectories)
public boolean isOnlyDirectories()
protected boolean isValid(java.io.File f)
public javax.swing.ListCellRenderer getCellRenderer()
FieldInsightProvidergetCellRenderer in interface FieldInsightProviderpublic 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 documentpublic 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 documentpublic 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.