|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.gui.configurator.AbstractParameterConfigurator<T> de.lmu.ifi.dbs.elki.gui.configurator.AbstractSingleParameterConfigurator<ClassListParameter<?>> de.lmu.ifi.dbs.elki.gui.configurator.ClassListParameterConfigurator
public class ClassListParameterConfigurator
Provide a configuration panel to choose classes with the help of a dropdown. Additionally, the classes can in turn have additional parameters.
Nested Class Summary | |
---|---|
(package private) class |
ClassListParameterConfigurator.SuperPopup
|
Field Summary | |
---|---|
(package private) JButton |
button
The button to open the file selector |
(package private) ConfiguratorPanel |
child
|
(package private) JComboBox |
combo
The combobox we are abusing to produce the popup |
(package private) JPanel |
panel
We need a panel to put our components on. |
(package private) ClassListParameterConfigurator.SuperPopup |
popup
The popup menu. |
(package private) JTextField |
textfield
Text field to store the name |
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 | |
---|---|
ClassListParameterConfigurator(ClassListParameter<?> cp,
JComponent parent)
|
Method Summary | |
---|---|
void |
actionPerformed(ActionEvent e)
Callback to show the popup menu |
void |
addParameter(Object owner,
Parameter<?,?> param,
TrackParameters track)
|
void |
appendParameters(ListParameterization params)
|
String |
getUserInput()
Get the value given by the user. |
void |
stateChanged(ChangeEvent e)
|
Methods inherited from class de.lmu.ifi.dbs.elki.gui.configurator.AbstractParameterConfigurator |
---|
addChangeListener, finishGridRow, fireValueChanged, removeChangeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
final ConfiguratorPanel child
final JPanel panel
final JTextField textfield
final JButton button
final JComboBox combo
final ClassListParameterConfigurator.SuperPopup popup
Constructor Detail |
---|
public ClassListParameterConfigurator(ClassListParameter<?> cp, JComponent parent)
Method Detail |
---|
public void addParameter(Object owner, Parameter<?,?> param, TrackParameters track)
addParameter
in interface ParameterConfigurator
addParameter
in class AbstractParameterConfigurator<ClassListParameter<?>>
public void actionPerformed(ActionEvent e)
actionPerformed
in interface ActionListener
public void stateChanged(ChangeEvent e)
stateChanged
in interface ChangeListener
public String getUserInput()
AbstractParameterConfigurator
getUserInput
in class AbstractParameterConfigurator<ClassListParameter<?>>
public void appendParameters(ListParameterization params)
appendParameters
in interface ParameterConfigurator
appendParameters
in class AbstractParameterConfigurator<ClassListParameter<?>>
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |