Package com.pixelmed.ftp
Class FTPRemoteHostConfigurationDialog
- java.lang.Object
-
- com.pixelmed.ftp.FTPRemoteHost
-
- com.pixelmed.ftp.FTPRemoteHostConfigurationDialog
-
public class FTPRemoteHostConfigurationDialog extends FTPRemoteHost
This class implements a dialog for users to enter ftp remote host configuration parameters.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringbadFieldStringprotected javax.swing.JTextFielddirectoryFieldprotected javax.swing.JTextFieldhostFieldprotected java.lang.StringlocalNameprotected javax.swing.JTextFieldlocalNameFieldprotected javax.swing.JTextFieldpasswordFieldprotected javax.swing.JMenusecurityMenuprotected javax.swing.JTextFielduserField
-
Constructor Summary
Constructors Constructor Description FTPRemoteHostConfigurationDialog()Create new ftp remote host information.FTPRemoteHostConfigurationDialog(java.awt.Component parent)Create new ftp remote host information.FTPRemoteHostConfigurationDialog(java.awt.Component parent, java.lang.String localName)Create new ftp remote host information.FTPRemoteHostConfigurationDialog(java.awt.Component parent, java.lang.String localName, FTPRemoteHost frh)Configure ftp remote host information.FTPRemoteHostConfigurationDialog(java.lang.String localName, FTPRemoteHost frh)Configure ftp remote host information.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoCommonConstructorStuff(java.awt.Component parent)java.lang.StringgetLocalName()static voidmain(java.lang.String[] arg)Main method for testing.-
Methods inherited from class com.pixelmed.ftp.FTPRemoteHost
equals, getDirectory, getHost, getPassword, getSecurity, getUser, setDirectory, setHost, setPassword, setSecurity, setSecurity, setUser, toString
-
-
-
-
Field Detail
-
badFieldString
protected static final java.lang.String badFieldString
- See Also:
- Constant Field Values
-
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 screenlocalName- the local name for the remote hostfrh- 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 hostfrh- 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 screenlocalName- 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
-
-