public class FileParameterConfigurator extends AbstractSingleParameterConfigurator<FileParameter> implements java.awt.event.ActionListener
Modifier and Type | Field and Description |
---|---|
(package private) javax.swing.JButton |
button
The button to open the file selector
|
(package private) javax.swing.JPanel |
panel
The panel to store the components
|
(package private) javax.swing.JTextField |
textfield
Text field to store the name
|
label
listenerList, param, parent
Constructor and Description |
---|
FileParameterConfigurator(FileParameter fp,
javax.swing.JComponent parent)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(java.awt.event.ActionEvent e)
Button callback to show the file selector
|
java.lang.String |
getUserInput()
Get the value given by the user.
|
addChangeListener, addParameter, appendParameters, finishGridRow, fireValueChanged, removeChangeListener
final javax.swing.JPanel panel
final javax.swing.JTextField textfield
final javax.swing.JButton button
public FileParameterConfigurator(FileParameter fp, javax.swing.JComponent parent)
fp
- File parameterparent
- Component to attach to.public void actionPerformed(java.awt.event.ActionEvent e)
actionPerformed
in interface java.awt.event.ActionListener
public java.lang.String getUserInput()
AbstractParameterConfigurator
getUserInput
in class AbstractParameterConfigurator<FileParameter>
Copyright © 2019 ELKI Development Team. License information.