
public class ClassParameterConfigurator extends AbstractSingleParameterConfigurator<ClassParameter<?>> implements ActionListener, ChangeListener
| Modifier and Type | Field and Description |
|---|---|
(package private) JButton |
button
The button to open the file selector
|
(package private) ConfiguratorPanel |
child
Configuration panel for child.
|
(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 |
|---|
ClassParameterConfigurator(ClassParameter<?> cp,
JComponent parent)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
void |
addParameter(Object owner,
Parameter<?> param,
TrackParameters track) |
void |
appendParameters(ListParameterization params) |
String |
getUserInput()
Get the value given by the user.
|
void |
stateChanged(ChangeEvent e) |
addChangeListener, finishGridRow, fireValueChanged, removeChangeListenerfinal JPanel panel
final JTextField textfield
final JButton button
final TreePopup popup
final ConfiguratorPanel child
public ClassParameterConfigurator(ClassParameter<?> cp, JComponent parent)
cp - Class parameterparent - Parent component.public void addParameter(Object owner, Parameter<?> param, TrackParameters track)
addParameter in interface ParameterConfiguratoraddParameter in class AbstractParameterConfigurator<ClassParameter<?>>public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic void stateChanged(ChangeEvent e)
stateChanged in interface ChangeListenerpublic String getUserInput()
AbstractParameterConfiguratorgetUserInput in class AbstractParameterConfigurator<ClassParameter<?>>public void appendParameters(ListParameterization params)
appendParameters in interface ParameterConfiguratorappendParameters in class AbstractParameterConfigurator<ClassParameter<?>>Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.