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

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.gui.configurator.AbstractParameterConfigurator<Flag>
      extended by de.lmu.ifi.dbs.elki.gui.configurator.FlagParameterConfigurator
All Implemented Interfaces:
ParameterConfigurator, ActionListener, EventListener

public class FlagParameterConfigurator
extends AbstractParameterConfigurator<Flag>
implements ActionListener

Provide a configuration panel to modify a boolean via a checkbox.


Field Summary
(package private)  JCheckBox value
           
 
Fields inherited from class de.lmu.ifi.dbs.elki.gui.configurator.AbstractParameterConfigurator
listenerList, param, parent
 
Constructor Summary
FlagParameterConfigurator(Flag param, JComponent parent)
           
 
Method Summary
 void actionPerformed(ActionEvent e)
           
 Boolean 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 JCheckBox value
Constructor Detail

FlagParameterConfigurator

public FlagParameterConfigurator(Flag param,
                                 JComponent parent)
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Specified by:
actionPerformed in interface ActionListener

getUserInput

public Boolean getUserInput()
Description copied from class: AbstractParameterConfigurator
Get the value given by the user.

Specified by:
getUserInput in class AbstractParameterConfigurator<Flag>
Returns:
value for parameter

Release 0.4.0 (2011-09-20_1324)