de.lmu.ifi.dbs.elki.gui.configurator
Class EnumParameterConfigurator
java.lang.Object
de.lmu.ifi.dbs.elki.gui.configurator.AbstractParameterConfigurator<T>
de.lmu.ifi.dbs.elki.gui.configurator.AbstractSingleParameterConfigurator<EnumParameter<?>>
de.lmu.ifi.dbs.elki.gui.configurator.EnumParameterConfigurator
- All Implemented Interfaces:
- ParameterConfigurator, ActionListener, EventListener
public class EnumParameterConfigurator
- extends AbstractSingleParameterConfigurator<EnumParameter<?>>
- implements ActionListener
Panel to configure EnumParameters by offering a dropdown to choose from.
TODO: offer radio buttons when just a few choices are available?
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
value
final JComboBox value
EnumParameterConfigurator
public EnumParameterConfigurator(EnumParameter<?> cp,
JComponent parent)
actionPerformed
public void actionPerformed(ActionEvent e)
- Specified by:
actionPerformed
in interface ActionListener
getUserInput
public String getUserInput()
- Description copied from class:
AbstractParameterConfigurator
- Get the value given by the user.
- Specified by:
getUserInput
in class AbstractParameterConfigurator<EnumParameter<?>>
- Returns:
- value for parameter