| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
JPanelcom.sshtools.common.ui.SshToolsApplicationPanelcom.sshtools.common.ui.SshToolsApplicationClientPanelpublic abstract class SshToolsApplicationClientPanelextends SshToolsApplicationPanelNested Class Summary | |
static class | |
Nested classes/interfaces inherited from class com.sshtools.common.ui.SshToolsApplicationPanel | |
SshToolsApplicationPanel.ActionMenu | |
Field Summary | |
static int | |
static String | |
protected FileFilter | |
protected File | |
protected SshToolsConnectionProfile | |
protected HostKeyVerification | |
protected Log | |
protected boolean | |
protected SshClient | |
protected static AbstractKnownHostsKeyVerification | |
Fields inherited from class com.sshtools.common.ui.SshToolsApplicationPanel | |
actionMenus, actions, actionsVisible, application, container, contextMenu, log, menuBar, toolBar, toolsVisible | |
Constructor Summary | |
| |
| |
Method Summary | |
protected boolean | |
protected boolean |
|
abstract void |
|
void |
|
void |
|
void |
|
void |
|
void | |
boolean |
|
abstract SshToolsConnectionTab[] | |
File | |
SshToolsConnectionProfile | |
HostKeyVerification | |
void |
|
boolean | |
boolean | |
SshToolsConnectionProfile | |
void |
|
void |
|
abstract boolean | |
File |
|
void |
|
void |
|
void | |
void |
|
void |
|
protected int | |
Methods inherited from class com.sshtools.common.ui.SshToolsApplicationPanel | |
addFavorite, canClose, close, deregisterAction, getAction, getActionMenu, getApplication, getContainer, getContextMenu, getIcon, getJMenuBar, getStatusBar, getToolBar, init, isConnected, isToolsVisible, rebuildActionComponents, registerAction, registerActionMenu, setActionVisible, setAvailableActions, setContainer, setContainerTitle, setMenuBarVisible, setStatusBarVisible, setToolBarVisible, setToolsVisible, showErrorMessage, showErrorMessage, showExceptionMessage, showOptions | |
public static final int BANNER_TIMEOUT
- Field Value:
- 2000
public static final String PREF_CONNECTION_FILE_DIRECTORY
protected FileFilter connectionFileFilter
protected File currentConnectionFile
protected Log log
protected boolean needSave
public SshToolsApplicationClientPanel()
Creates a new SshToolsApplicationClientPanel object.
public SshToolsApplicationClientPanel(LayoutManager mgr)
Creates a new SshToolsApplicationClientPanel object.
- Parameters:
mgr-
protected boolean allowConnectionSettingsEditing()
- Returns:
protected boolean authenticateUser(boolean newProfile)
throws IOException
- Parameters:
newProfile-
- Returns:
public abstract void authenticationComplete(boolean newProfile)
throws SshException,
IOException
- Parameters:
newProfile-
- Throws:
SshException-
public void closeConnection(boolean disconnect)
- Parameters:
disconnect-
public void connect(SshToolsConnectionProfile profile, boolean newProfile)
- Parameters:
profile-newProfile-
public void connect(SshClient ssh, SshToolsConnectionProfile profile) throws IOException
- Parameters:
ssh-profile-
public void editConnection()
public boolean editConnection(SshToolsConnectionProfile profile)
- Parameters:
profile-
- Returns:
public abstract SshToolsConnectionTab[] getAdditionalConnectionTabs()
- Returns:
public File getCurrentConnectionFile()
- Returns:
public void init(SshToolsApplication application) throws SshToolsApplicationException
- Overrides:
- init in interface SshToolsApplicationPanel
- Parameters:
application-
- Throws:
SshToolsApplicationException-
public boolean isConnected()
- Overrides:
- isConnected in interface SshToolsApplicationPanel
- Returns:
public boolean isNeedSave()
- Returns:
public SshToolsConnectionProfile newConnectionProfile(SshToolsConnectionProfile profile)
- Parameters:
profile-
- Returns:
public void open()
public void open(File f)
- Parameters:
f-
public abstract boolean postConnection()
- Returns:
public File saveConnection(boolean saveAs,
File file,
SshToolsConnectionProfile profile)
- Parameters:
saveAs-file-profile-
- Returns:
public void setContainerTitle(File file)
- Overrides:
- setContainerTitle in interface SshToolsApplicationPanel
- Parameters:
file-
public void setCurrentConnectionFile(File file)
- Parameters:
file-
public void setCurrentConnectionProfile(SshToolsConnectionProfile profile)
- Parameters:
profile-
public void setHostHostVerification(HostKeyVerification hostKeyVerification)
- Parameters:
hostKeyVerification-
public void setNeedSave(boolean needSave)
- Parameters:
needSave-
protected int showAuthenticationPrompt(SshAuthenticationClient instance) throws IOException
- Parameters:
instance-
- Returns: