Class SoapConfigGUI

All Implemented Interfaces:
ActionListener, ImageObserver, MenuContainer, Serializable, EventListener, Accessible

public class SoapConfigGUI extends JPanel implements ActionListener
Network Mediation User: jwu Date: Jan 20, 2005 Time: 1:37:15 PM MetaSolv Software Inc.
See Also:
  • Field Details

    • HR

      public static final String HR
    • MIN

      public static final String MIN
    • CONFIG_STRING_SIZE

      public static final int CONFIG_STRING_SIZE
      See Also:
  • Constructor Details

    • SoapConfigGUI

      public SoapConfigGUI()
      Instantiate the appropriate GUI panel with default configuration settings.
    • SoapConfigGUI

      public SoapConfigGUI(String soapSetting)
      Instantiate the appropriate GUI panel with specified configuration settings.
      Parameters:
      soapSetting - Specifies soap-specific parameters
  • Method Details

    • addGUIComponents

      protected void addGUIComponents()
      Creates and adds the necessary GUI widgets to the panel.
    • actionPerformed

      public void actionPerformed(ActionEvent event)
      Defines what actions are performed when the various GUI buttons are pressed.
      Specified by:
      actionPerformed in interface ActionListener
      Parameters:
      event - Describes the action that triggered the call to this method
    • isFtpInfoEmpty

      public boolean isFtpInfoEmpty()
      Used to determine if user has entered any ftp info yet.
      Returns:
      boolean indicating whether user has entered any ftp info.
    • getSoapInfoFromGUI

      public String getSoapInfoFromGUI()
      Returns the Soap configuration parameters as a String.
    • delayTimeIsGood

      public boolean delayTimeIsGood()
      Used to warn the user if the ftp delay time is not appropriate. Basically, if the user is trying to retrieve files faster than every ten minutes (600 seconds), that's probably too fast. The ideal interval is anywhere from 5400 seconds to 7200 seconds.
      Returns:
      boolean flag indicating whether delay time is appropriate
    • convertToString

      public String convertToString(String convertStr)