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
|
label
listenerList, 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, removeChangeListener
final 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 ParameterConfigurator
addParameter
in class AbstractParameterConfigurator<ClassParameter<?>>
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
public void stateChanged(ChangeEvent e)
stateChanged
in interface ChangeListener
public String getUserInput()
AbstractParameterConfigurator
getUserInput
in class AbstractParameterConfigurator<ClassParameter<?>>
public void appendParameters(ListParameterization params)
appendParameters
in interface ParameterConfigurator
appendParameters
in class AbstractParameterConfigurator<ClassParameter<?>>
Copyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.