public class BrowseFilesListener
extends java.lang.Object
implements java.awt.event.ActionListener
Modifier and Type | Field and Description |
---|---|
protected FileChooserDescriptor |
myChooserDescriptor |
static FileChooserDescriptor |
SINGLE_DIRECTORY_DESCRIPTOR |
static FileChooserDescriptor |
SINGLE_FILE_DESCRIPTOR |
Constructor and Description |
---|
BrowseFilesListener(javax.swing.JTextField textField,
java.lang.String title,
java.lang.String description,
FileChooserDescriptor chooserDescriptor) |
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e) |
protected void |
doSetText(java.lang.String path) |
protected VirtualFile |
getFileToSelect() |
public static final FileChooserDescriptor SINGLE_DIRECTORY_DESCRIPTOR
public static final FileChooserDescriptor SINGLE_FILE_DESCRIPTOR
protected final FileChooserDescriptor myChooserDescriptor
public BrowseFilesListener(javax.swing.JTextField textField, java.lang.String title, java.lang.String description, FileChooserDescriptor chooserDescriptor)
protected VirtualFile getFileToSelect()
protected void doSetText(java.lang.String path)
public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener