Package com.pixelmed.ftp
Class FTPClientApplicationConfigurationDialog
- java.lang.Object
-
- com.pixelmed.ftp.FTPClientApplicationConfigurationDialog
-
public class FTPClientApplicationConfigurationDialog extends java.lang.ObjectThis class provides a user interface for applications to configure and test properties related to remote FTP hosts.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classFTPClientApplicationConfigurationDialog.AddRemoteHostActionListenerprotected classFTPClientApplicationConfigurationDialog.DoneActionListenerprotected classFTPClientApplicationConfigurationDialog.EditRemoteHostActionListenerprotected classFTPClientApplicationConfigurationDialog.RemoveRemoteHostActionListener
-
Field Summary
Fields Modifier and Type Field Description protected javax.swing.JTextFieldcalledAETitleFieldprotected javax.swing.JTextFieldcallingAETitleFieldprotected FTPApplicationPropertiesftpApplicationPropertiesprotected FTPRemoteHostInformationftpRemoteHostInformationprotected javax.swing.JTextFieldlisteningPortField
-
Constructor Summary
Constructors Constructor Description FTPClientApplicationConfigurationDialog(java.awt.Component parent, FTPRemoteHostInformation ftpRemoteHostInformation, FTPApplicationProperties ftpApplicationProperties)Configure and test network information.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] arg)Test the editing of network properties from the specified file.protected java.lang.StringshowInputDialogToSelectNetworkTargetByLocalName(java.awt.Component parent, FTPRemoteHostInformation ftpRemoteHostInformation, java.lang.String message, java.lang.String title)
-
-
-
Field Detail
-
ftpRemoteHostInformation
protected FTPRemoteHostInformation ftpRemoteHostInformation
-
ftpApplicationProperties
protected FTPApplicationProperties ftpApplicationProperties
-
calledAETitleField
protected javax.swing.JTextField calledAETitleField
-
callingAETitleField
protected javax.swing.JTextField callingAETitleField
-
listeningPortField
protected javax.swing.JTextField listeningPortField
-
-
Constructor Detail
-
FTPClientApplicationConfigurationDialog
public FTPClientApplicationConfigurationDialog(java.awt.Component parent, FTPRemoteHostInformation ftpRemoteHostInformation, FTPApplicationProperties ftpApplicationProperties) throws FTPExceptionConfigure and test network information.
- Parameters:
parent- the parent component on which the new dialog is centered, may be null in which case centered on the screenftpRemoteHostInformation- the current information whose contents are to be replaced with updated informationftpApplicationProperties- the static properties that are to be edited- Throws:
FTPException
-
-
Method Detail
-
showInputDialogToSelectNetworkTargetByLocalName
protected java.lang.String showInputDialogToSelectNetworkTargetByLocalName(java.awt.Component parent, FTPRemoteHostInformation ftpRemoteHostInformation, java.lang.String message, java.lang.String title)
-
main
public static void main(java.lang.String[] arg)
Test the editing of network properties from the specified file.
- Parameters:
arg- a single file name that is the properties file
-
-