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) JFileChooser |
fc
The actual file chooser
|
(package private) JPanel |
panel
The panel to store the components
|
(package private) JTextField |
textfield
Text field to store the name
|
label
listenerList, param, parent
Constructor and Description |
---|
FileParameterConfigurator(FileParameter fp,
JComponent parent) |
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, removeChangeListener
final JPanel panel
final JTextField textfield
final JButton button
final JFileChooser fc
public FileParameterConfigurator(FileParameter fp, JComponent parent)
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
public String getUserInput()
AbstractParameterConfigurator
getUserInput
in class AbstractParameterConfigurator<FileParameter>