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 String |
badFieldString |
protected JTextField |
directoryField |
protected JTextField |
hostField |
protected String |
localName |
protected JTextField |
localNameField |
protected JTextField |
passwordField |
protected JMenu |
securityMenu |
protected JTextField |
userField |
Constructor and Description |
---|
FTPRemoteHostConfigurationDialog()
Create new ftp remote host information.
|
FTPRemoteHostConfigurationDialog(Component parent)
Create new ftp remote host information.
|
FTPRemoteHostConfigurationDialog(Component parent,
String localName)
Create new ftp remote host information.
|
FTPRemoteHostConfigurationDialog(Component parent,
String localName,
FTPRemoteHost frh)
Configure ftp remote host information.
|
FTPRemoteHostConfigurationDialog(String localName,
FTPRemoteHost frh)
Configure ftp remote host information.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doCommonConstructorStuff(Component parent) |
String |
getLocalName() |
static void |
main(String[] arg)
Main method for testing.
|
equals, getDirectory, getHost, getPassword, getSecurity, getUser, setDirectory, setHost, setPassword, setSecurity, setSecurity, setUser, toString
protected static final String badFieldString
protected JTextField directoryField
protected JTextField hostField
protected String localName
protected JTextField localNameField
protected JTextField passwordField
protected JMenu securityMenu
protected JTextField userField
public FTPRemoteHostConfigurationDialog()
Create new ftp remote host information.
public FTPRemoteHostConfigurationDialog(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(Component parent, 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(Component parent, 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(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 information