|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.gui.configurator.AbstractParameterConfigurator<T> de.lmu.ifi.dbs.elki.gui.configurator.AbstractSingleParameterConfigurator<FileParameter> de.lmu.ifi.dbs.elki.gui.configurator.FileParameterConfigurator
public class FileParameterConfigurator
Provide a configuration panel to choose a file with a file selector button.
Field Summary | |
---|---|
(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 |
Fields inherited from class de.lmu.ifi.dbs.elki.gui.configurator.AbstractSingleParameterConfigurator |
---|
label |
Fields inherited from class de.lmu.ifi.dbs.elki.gui.configurator.AbstractParameterConfigurator |
---|
listenerList, param, parent |
Constructor Summary | |
---|---|
FileParameterConfigurator(FileParameter fp,
JComponent parent)
|
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent e)
Button callback to show the file selector |
String |
getUserInput()
Get the value given by the user. |
Methods inherited from class de.lmu.ifi.dbs.elki.gui.configurator.AbstractParameterConfigurator |
---|
addChangeListener, addParameter, appendParameters, finishGridRow, fireValueChanged, removeChangeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
final JPanel panel
final JTextField textfield
final JButton button
final JFileChooser fc
Constructor Detail |
---|
public FileParameterConfigurator(FileParameter fp, JComponent parent)
Method Detail |
---|
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
public String getUserInput()
AbstractParameterConfigurator
getUserInput
in class AbstractParameterConfigurator<FileParameter>
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |