Class FTPRemoteHostConfigurationDialog


  • public class FTPRemoteHostConfigurationDialog
    extends FTPRemoteHost

    This class implements a dialog for users to enter ftp remote host configuration parameters.

    • Field Detail

      • localName

        protected java.lang.String localName
      • localNameField

        protected javax.swing.JTextField localNameField
      • hostField

        protected javax.swing.JTextField hostField
      • userField

        protected javax.swing.JTextField userField
      • passwordField

        protected javax.swing.JTextField passwordField
      • directoryField

        protected javax.swing.JTextField directoryField
      • securityMenu

        protected javax.swing.JMenu securityMenu
    • Constructor Detail

      • FTPRemoteHostConfigurationDialog

        public FTPRemoteHostConfigurationDialog​(java.awt.Component parent,
                                                java.lang.String localName,
                                                FTPRemoteHost frh)

        Configure ftp remote host information.

        Parameters:
        parent - the parent component (JFrame or JDialog) on which the new dialog is centered, may be null in which case centered on the screen
        localName - the local name for the remote host
        frh - the current information whose contents are to be replaced with updated information
      • FTPRemoteHostConfigurationDialog

        public FTPRemoteHostConfigurationDialog​(java.lang.String localName,
                                                FTPRemoteHost frh)

        Configure ftp remote host information.

        Parameters:
        localName - the local name for the remote host
        frh - the current information whose contents are to be replaced with updated information
      • FTPRemoteHostConfigurationDialog

        public FTPRemoteHostConfigurationDialog​(java.awt.Component parent,
                                                java.lang.String localName)

        Create new ftp remote host information.

        Parameters:
        parent - the parent component (JFrame or JDialog) on which the new dialog is centered, may be null in which case centered on the screen
        localName - the local name for the remote host
      • FTPRemoteHostConfigurationDialog

        public FTPRemoteHostConfigurationDialog​(java.awt.Component parent)

        Create new ftp remote host information.

        Parameters:
        parent - the parent component (JFrame or JDialog) on which the new dialog is centered, may be null in which case centered on the screen
      • FTPRemoteHostConfigurationDialog

        public FTPRemoteHostConfigurationDialog()

        Create new ftp remote host information.

    • Method Detail

      • getLocalName

        public java.lang.String getLocalName()
      • doCommonConstructorStuff

        protected void doCommonConstructorStuff​(java.awt.Component parent)
      • main

        public static void main​(java.lang.String[] arg)

        Main method for testing.

        Parameters:
        arg - array of zero strings - no command line arguments are expected