public class FTPRemoteHostConfigurationDialog extends FTPRemoteHost
This class implements a dialog for users to enter ftp remote host configuration parameters.
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
badFieldString |
protected javax.swing.JTextField |
directoryField |
protected javax.swing.JTextField |
hostField |
protected java.lang.String |
localName |
protected javax.swing.JTextField |
localNameField |
protected javax.swing.JTextField |
passwordField |
protected javax.swing.JMenu |
securityMenu |
protected javax.swing.JTextField |
userField |
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doCommonConstructorStuff(java.awt.Component parent) |
java.lang.String |
getLocalName() |
static void |
main(java.lang.String[] arg)
Main method for testing.
|
equals, getDirectory, getHost, getPassword, getSecurity, getUser, setDirectory, setHost, setPassword, setSecurity, setSecurity, setUser, toString
protected static final java.lang.String badFieldString
protected javax.swing.JTextField directoryField
protected javax.swing.JTextField hostField
protected java.lang.String localName
protected javax.swing.JTextField localNameField
protected javax.swing.JTextField passwordField
protected javax.swing.JMenu securityMenu
protected javax.swing.JTextField userField
public FTPRemoteHostConfigurationDialog()
Create new ftp remote host information.
public FTPRemoteHostConfigurationDialog(java.awt.Component parent)
Create new ftp remote host information.
parent
- the parent component (JFrame or JDialog) on which the new dialog is centered, may be null in which case centered on the screenpublic FTPRemoteHostConfigurationDialog(java.awt.Component parent, java.lang.String localName)
Create new ftp remote host information.
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 hostpublic FTPRemoteHostConfigurationDialog(java.awt.Component parent, java.lang.String localName, FTPRemoteHost frh)
Configure ftp remote host information.
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 informationpublic FTPRemoteHostConfigurationDialog(java.lang.String localName, FTPRemoteHost frh)
Configure ftp remote host information.
localName
- the local name for the remote hostfrh
- the current information whose contents are to be replaced with updated informationprotected void doCommonConstructorStuff(java.awt.Component parent)
public java.lang.String getLocalName()
public static void main(java.lang.String[] arg)
Main method for testing.
arg
- array of zero strings - no command line arguments are expected