Class FtpFileEIConfigGUI

All Implemented Interfaces:
DCNodeConfigGUIIfc, ItemListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public abstract class FtpFileEIConfigGUI extends EINodeConfigGUI
Generates and manages the GUI widgets necessary for specifying the configuration parameters of any derivation of the FTP EI Node. You need to extend this class for your particular EI in order to specify at least the processing "engine" you need. This class was designed to provide a general-purpose config panel for any FTP EI node.
See Also:
  • Constructor Details

    • FtpFileEIConfigGUI

      public FtpFileEIConfigGUI(DCNodeConfigData ncd)
      Establish the configuration directory for this node as well the general allocations and initializations done in the parent class's constructor.
  • Method Details

    • allFieldsValid

      public boolean allFieldsValid()
      Used to validate all fields in the GUI for this node.
      Specified by:
      allFieldsValid in interface DCNodeConfigGUIIfc
      Overrides:
      allFieldsValid in class DCNodeConfigGUI
      Returns:
      true if either the input stream monitoring interval is less than one week, or that the user is OK with the interval longer than one week.
    • getNodeSpecificConfigData

      public void getNodeSpecificConfigData(DCNodeConfigData node_data)
      Passes the ftp-specific configuration parameters as well as any general configuration parameters to the node configuration object. This is how the Node Manager receives the configuration data with which it instantiates the node.
      Specified by:
      getNodeSpecificConfigData in interface DCNodeConfigGUIIfc
      Overrides:
      getNodeSpecificConfigData in class EINodeConfigGUI
      Parameters:
      node_data - Node configuration object
    • extendConfigGUI

      public void extendConfigGUI()
      Creates all the necessary GUI widgets.
      Specified by:
      extendConfigGUI in interface DCNodeConfigGUIIfc
      Overrides:
      extendConfigGUI in class EINodeConfigGUI
    • setDefaults

      public void setDefaults()
      Establishes defaults for general configuration parameters. Override this to set parameters specific to your EI!
      Overrides:
      setDefaults in class EINodeConfigGUI