de.lmu.ifi.dbs.elki.gui.configurator
Class TextParameterConfigurator

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.gui.configurator.AbstractParameterConfigurator<T>
      extended by de.lmu.ifi.dbs.elki.gui.configurator.AbstractSingleParameterConfigurator<Parameter<?,?>>
          extended by de.lmu.ifi.dbs.elki.gui.configurator.TextParameterConfigurator
All Implemented Interfaces:
ParameterConfigurator, ActionListener, EventListener

public class TextParameterConfigurator
extends AbstractSingleParameterConfigurator<Parameter<?,?>>
implements ActionListener

Provide a configuration panel to input an arbitrary text parameter.


Field Summary
(package private)  JTextField value
           
 
Fields inherited from class de.lmu.ifi.dbs.elki.gui.configurator.AbstractSingleParameterConfigurator
label
 
Fields inherited from class de.lmu.ifi.dbs.elki.gui.configurator.AbstractParameterConfigurator
listenerList, param, parent
 
Constructor Summary
TextParameterConfigurator(Parameter<?,?> param, JComponent parent)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 String getUserInput()
          Get the value given by the user.
 
Methods inherited from class de.lmu.ifi.dbs.elki.gui.configurator.AbstractParameterConfigurator
addChangeListener, addParameter, appendParameters, finishGridRow, fireValueChanged, removeChangeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

final JTextField value
Constructor Detail

TextParameterConfigurator

public TextParameterConfigurator(Parameter<?,?> param,
                                 JComponent parent)
Method Detail

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<Parameter<?,?>>
Returns:
value for parameter

Release 0.4.0 (2011-09-20_1324)