Package elki.gui.configurator
Class FlagParameterConfigurator
- java.lang.Object
-
- elki.gui.configurator.AbstractParameterConfigurator<Flag>
-
- elki.gui.configurator.FlagParameterConfigurator
-
- All Implemented Interfaces:
ParameterConfigurator,java.awt.event.ActionListener,java.util.EventListener
public class FlagParameterConfigurator extends AbstractParameterConfigurator<Flag> implements java.awt.event.ActionListener
Provide a configuration panel to modify a boolean via a checkbox.- Since:
- 0.4.0
- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description (package private) javax.swing.JCheckBoxvalue-
Fields inherited from class elki.gui.configurator.AbstractParameterConfigurator
listenerList, param, parent
-
-
Constructor Summary
Constructors Constructor Description FlagParameterConfigurator(Flag param, javax.swing.JComponent parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidactionPerformed(java.awt.event.ActionEvent e)java.lang.BooleangetUserInput()Get the value given by the user.-
Methods inherited from class elki.gui.configurator.AbstractParameterConfigurator
addChangeListener, addParameter, appendParameters, finishGridRow, fireValueChanged, removeChangeListener
-
-
-
-
Constructor Detail
-
FlagParameterConfigurator
public FlagParameterConfigurator(Flag param, javax.swing.JComponent parent)
-
-
Method Detail
-
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Specified by:
actionPerformedin interfacejava.awt.event.ActionListener
-
getUserInput
public java.lang.Boolean getUserInput()
Description copied from class:AbstractParameterConfiguratorGet the value given by the user.- Specified by:
getUserInputin classAbstractParameterConfigurator<Flag>- Returns:
- value for parameter
-
-