public abstract class FileTextFieldImpl extends java.lang.Object implements FileLookup, Disposable, FileTextField
Modifier and Type | Class and Description |
---|---|
static class |
FileTextFieldImpl.CompletionResult |
static class |
FileTextFieldImpl.Vfs |
FileLookup.Finder, FileLookup.LookupFile, FileLookup.LookupFilter
Disposable.Parent
Modifier and Type | Field and Description |
---|---|
protected boolean |
myAutopopup |
KEY
Constructor and Description |
---|
FileTextFieldImpl(FileLookup.Finder finder,
FileLookup.LookupFilter filter,
java.util.Map<java.lang.String,java.lang.String> macroMap) |
FileTextFieldImpl(javax.swing.JTextField field,
FileLookup.Finder finder,
FileLookup.LookupFilter filter,
java.util.Map<java.lang.String,java.lang.String> macroMap,
Disposable parent) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Usually not invoked directly, see class javadoc.
|
java.lang.String |
getAdText(FileTextFieldImpl.CompletionResult result) |
java.lang.String |
getCompletionBase() |
javax.swing.JTextField |
getField() |
FileLookup.LookupFile |
getFile() |
FileLookup.Finder |
getFinder() |
protected java.lang.String |
getPathVariablesSeparatorText() |
java.lang.String |
getTextFieldText() |
boolean |
isPathUpdating() |
boolean |
isPopupDisplayed() |
protected void |
onTextChanged(java.lang.String newValue) |
void |
processCompletion(FileTextFieldImpl.CompletionResult result) |
void |
resetMacroMap(java.util.Map<java.lang.String,java.lang.String> macroMap) |
void |
setText(java.lang.String text,
boolean now,
java.lang.Runnable onDone) |
protected void |
setTextToFile(FileLookup.LookupFile file) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSelectedFile
public FileTextFieldImpl(FileLookup.Finder finder, FileLookup.LookupFilter filter, java.util.Map<java.lang.String,java.lang.String> macroMap)
public FileTextFieldImpl(javax.swing.JTextField field, FileLookup.Finder finder, FileLookup.LookupFilter filter, java.util.Map<java.lang.String,java.lang.String> macroMap, Disposable parent)
public void resetMacroMap(java.util.Map<java.lang.String,java.lang.String> macroMap)
public void dispose()
Disposable
dispose
in interface Disposable
protected void onTextChanged(java.lang.String newValue)
public java.lang.String getAdText(FileTextFieldImpl.CompletionResult result)
protected java.lang.String getPathVariablesSeparatorText()
public void processCompletion(FileTextFieldImpl.CompletionResult result)
public FileLookup.LookupFile getFile()
protected void setTextToFile(FileLookup.LookupFile file)
public javax.swing.JTextField getField()
getField
in interface FileTextField
public boolean isPopupDisplayed()
isPopupDisplayed
in interface FileTextField
public FileLookup.Finder getFinder()
public java.lang.String getTextFieldText()
public final void setText(java.lang.String text, boolean now, java.lang.Runnable onDone)
public boolean isPathUpdating()
public java.lang.String getCompletionBase()