
public class ClassListParameterConfigurator extends AbstractSingleParameterConfigurator<ClassListParameter<?>> implements ActionListener, ChangeListener
| Modifier and Type | Field and Description |
|---|---|
(package private) JButton |
button
The button to open the file selector
|
(package private) ConfiguratorPanel |
child
Configurator for children
|
(package private) JPanel |
panel
We need a panel to put our components on.
|
(package private) TreePopup |
popup
The popup we use.
|
(package private) JTextField |
textfield
Text field to store the name
|
labellistenerList, param, parent| Constructor and Description |
|---|
ClassListParameterConfigurator(ClassListParameter<?> cp,
JComponent parent)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e)
Callback to show the popup menu
|
void |
addParameter(Object owner,
Parameter<?> param,
TrackParameters track)
Add a parameter to the panel.
|
void |
appendParameters(ListParameterization params)
Append the parameters to a list.
|
String |
getUserInput()
Get the value given by the user.
|
void |
stateChanged(ChangeEvent e) |
addChangeListener, finishGridRow, fireValueChanged, removeChangeListenerfinal ConfiguratorPanel child
final JPanel panel
final JTextField textfield
final JButton button
final TreePopup popup
public ClassListParameterConfigurator(ClassListParameter<?> cp, JComponent parent)
cp - Class list parameterparent - Parent componentpublic void addParameter(Object owner, Parameter<?> param, TrackParameters track)
ParameterConfiguratoraddParameter in interface ParameterConfiguratoraddParameter in class AbstractParameterConfigurator<ClassListParameter<?>>owner - Owning ("parent") objectparam - Parametertrack - Parameter trackerpublic void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic void stateChanged(ChangeEvent e)
stateChanged in interface ChangeListenerpublic String getUserInput()
AbstractParameterConfiguratorgetUserInput in class AbstractParameterConfigurator<ClassListParameter<?>>public void appendParameters(ListParameterization params)
ParameterConfiguratorappendParameters in interface ParameterConfiguratorappendParameters in class AbstractParameterConfigurator<ClassListParameter<?>>params - Parameter list (output)Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.