@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()
FieldInsightProvider
getCellRenderer
in interface FieldInsightProvider
public boolean handlesInsight(javax.swing.text.Document doc, int pos)
FieldInsightProvider
handlesInsight
in interface FieldInsightProvider
doc
- 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)
FieldInsightProvider
getInsightData
in interface FieldInsightProvider
doc
- 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)
FieldInsightProvider
completeInsight
in interface FieldInsightProvider
doc
- the document to completepos
- the position to complete atinsightObject
- the insight object to complete withpublic boolean isAutoPopupChar(char c)
FieldInsightProvider
isAutoPopupChar
in interface FieldInsightProvider
c
- the character before the caret position.