
public class FileParameterConfigurator extends AbstractSingleParameterConfigurator<FileParameter> implements ActionListener
| Modifier and Type | Field and Description | 
|---|---|
(package private) JButton | 
button
The button to open the file selector 
 | 
(package private) JPanel | 
panel
The panel to store the components 
 | 
(package private) JTextField | 
textfield
Text field to store the name 
 | 
labellistenerList, param, parent| Constructor and Description | 
|---|
FileParameterConfigurator(FileParameter fp,
                         JComponent parent)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
actionPerformed(ActionEvent e)
Button callback to show the file selector 
 | 
String | 
getUserInput()
Get the value given by the user. 
 | 
addChangeListener, addParameter, appendParameters, finishGridRow, fireValueChanged, removeChangeListenerfinal JPanel panel
final JTextField textfield
final JButton button
public FileParameterConfigurator(FileParameter fp, JComponent parent)
fp - File parameterparent - Component to attach to.public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic String getUserInput()
AbstractParameterConfiguratorgetUserInput in class AbstractParameterConfigurator<FileParameter>Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.