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.JCheckBox
value
-
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 void
actionPerformed(java.awt.event.ActionEvent e)
java.lang.Boolean
getUserInput()
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:
actionPerformed
in interfacejava.awt.event.ActionListener
-
getUserInput
public java.lang.Boolean getUserInput()
Description copied from class:AbstractParameterConfigurator
Get the value given by the user.- Specified by:
getUserInput
in classAbstractParameterConfigurator<Flag>
- Returns:
- value for parameter
-
-