Class FileParameterConfigurator

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

    public class FileParameterConfigurator
    extends AbstractSingleParameterConfigurator<FileParameter>
    implements java.awt.event.ActionListener
    Provide a configuration panel to choose a file with a file selector button.
    Since:
    0.4.0
    Author:
    Erich Schubert
    • Field Detail

      • panel

        final javax.swing.JPanel panel
        The panel to store the components
      • textfield

        final javax.swing.JTextField textfield
        Text field to store the name
      • button

        final javax.swing.JButton button
        The button to open the file selector
    • Constructor Detail

      • FileParameterConfigurator

        public FileParameterConfigurator​(FileParameter fp,
                                         javax.swing.JComponent parent)
        Constructor.
        Parameters:
        fp - File parameter
        parent - Component to attach to.
    • Method Detail

      • actionPerformed

        public void actionPerformed​(java.awt.event.ActionEvent e)
        Button callback to show the file selector
        Specified by:
        actionPerformed in interface java.awt.event.ActionListener