Class EnumParameterConfigurator

  • All Implemented Interfaces:
    ParameterConfigurator, java.awt.event.ActionListener, java.util.EventListener

    public class EnumParameterConfigurator
    extends AbstractSingleParameterConfigurator<EnumParameter<?>>
    implements java.awt.event.ActionListener
    Panel to configure EnumParameters by offering a dropdown to choose from.

    TODO: offer radio buttons when just a few choices are available?

    Since:
    0.4.0
    Author:
    Erich Schubert
    • Field Detail

      • value

        final javax.swing.JComboBox<java.lang.String> value
    • Constructor Detail

      • EnumParameterConfigurator

        public EnumParameterConfigurator​(EnumParameter<?> cp,
                                         javax.swing.JComponent parent)
    • Method Detail

      • actionPerformed

        public void actionPerformed​(java.awt.event.ActionEvent e)
        Specified by:
        actionPerformed in interface java.awt.event.ActionListener