de.lmu.ifi.dbs.elki.gui.configurator
Class ClassParameterConfigurator
java.lang.Object
de.lmu.ifi.dbs.elki.gui.configurator.AbstractParameterConfigurator<T>
de.lmu.ifi.dbs.elki.gui.configurator.AbstractSingleParameterConfigurator<ClassParameter<?>>
de.lmu.ifi.dbs.elki.gui.configurator.ClassParameterConfigurator
- All Implemented Interfaces:
- ParameterConfigurator, ActionListener, EventListener, ChangeListener
public class ClassParameterConfigurator
- extends AbstractSingleParameterConfigurator<ClassParameter<?>>
- implements ActionListener, ChangeListener
Provide a configuration panel to choose a class with the help of a dropdown.
Additionally, the classes can in turn have additional parameters.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
value
final JComboBox value
child
final ConfiguratorPanel child
ClassParameterConfigurator
public ClassParameterConfigurator(ClassParameter<?> cp,
JComponent parent)
addParameter
public void addParameter(Object owner,
Parameter<?,?> param,
TrackParameters track)
- Specified by:
addParameter
in interface ParameterConfigurator
- Overrides:
addParameter
in class AbstractParameterConfigurator<ClassParameter<?>>
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed
in interface ActionListener
stateChanged
public void stateChanged(ChangeEvent e)
- Specified by:
stateChanged
in interface ChangeListener
getUserInput
public String getUserInput()
- Description copied from class:
AbstractParameterConfigurator
- Get the value given by the user.
- Specified by:
getUserInput
in class AbstractParameterConfigurator<ClassParameter<?>>
- Returns:
- value for parameter
appendParameters
public void appendParameters(ListParameterization params)
- Specified by:
appendParameters
in interface ParameterConfigurator
- Overrides:
appendParameters
in class AbstractParameterConfigurator<ClassParameter<?>>