| Home >> All >> com >> sshtools >> common >> [ ui Javadoc ] |
com.sshtools.common.ui: Javadoc index of package com.sshtools.common.ui.
Package Samples:
com.sshtools.common.ui
Classes:
SessionProviderFactory: This class is responsible for dynamically loading all the installed session providers. A session provider can be used with SessionProviderFrame to integrate an ssh service such as a terminal window or sftp window within another application. To install a session provider you should provide a special properties file resource at the root of your source tree called 'session.provider'. This properties file should have the following properties defined: provider.id= [The unique name of the provider e.g 'sshterm'] provider.name= [The descriptive name of the provider e.g. 'Terminal Session'] provider.class= ...
SessionProviderInternalFrame: This frame class embeds a SessionProvider and manages the connection on behalf of the caller. To invoke a session provider from an external application is a straight forward procedure. Assuming that the connection has already been established [see SshClient] you can invoke a frame using the following code: // Create an SshClient connection SshClient ssh = new SshClient(); // Connection code goes here - see SshClient for more details SessionProviderFrame frame = new SessionProviderFrame(null, new SshToolsConnectionProfile(), ssh, SessionProviderFactory.getInstance().getProvider("sshterm")); frame.pack(); ...
SessionProviderFrame: This frame class embeds a SessionProvider and manages the connection on behalf of the caller. To invoke a session provider from an external application is a straight forward procedure. Assuming that the connection has already been established [see SshClient] you can invoke a frame using the following code: // Create an SshClient connection SshClient ssh = new SshClient(); // Connection code goes here - see SshClient for more details SessionProviderFrame frame = new SessionProviderFrame(null, new SshToolsConnectionProfile(), ssh, SessionProviderFactory.getInstance().getProvider("sshterm")); frame.pack(); ...
SessionManager: This interface is used by the Session Provider framework to abstract the SshClient connection away from the session provider. This restricts the session to performing operations that are allowed by the controlling application. For instance, the provider cannot simply diconnect the connection, since the SshClient's disconnect method is not exposed, instead a requestDisconnect method is provided allowing the controlling application to simply ignore a disconnect since it may have other sessions open. Most of the methods of this interface will simply be required to call the identical method on SshClient ...
SessionProvider: Instances of this class are created by the SessionProviderFactory for each installed session provider. Instances of this class can be supplied to the SessionProviderFrame to create windows contains the session providers service
SshToolsApplication: An abstract application class that provides container management, look and feel configuration and most recently used menus.
TextBox: Description of the Class
AboutAction
CloseAction
PrintAction
ColorIcon
EditAction
PrintPreviewAction
EmptyIcon
UIUtil
DataNotificationListener
HostsTab
Tab
ImagePanel
MenuAction
| Home | Contact Us | Privacy Policy | Terms of Service |