Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.sshtools.sshterm
Class SshTerminalPanel  view SshTerminalPanel download SshTerminalPanel.java

java.lang.Object
  extended byjava.awt.Component
      extended byjava.awt.Container
          extended byjavax.swing.JComponent
              extended byjavax.swing.JPanel
                  extended bycom.sshtools.apps.SshToolsApplicationPanel
                      extended bycom.sshtools.sshterm.SshTerminalPanel
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.event.ActionListener, java.awt.datatransfer.ClipboardOwner, java.util.EventListener, java.awt.image.ImageObserver, java.awt.MenuContainer, java.awt.event.MouseMotionListener, java.io.Serializable, com.sshtools.sshterm.emulation.TerminalListener

public class SshTerminalPanel
extends com.sshtools.apps.SshToolsApplicationPanel
implements java.awt.event.ActionListener, java.awt.datatransfer.ClipboardOwner, com.sshtools.sshterm.emulation.TerminalListener, java.awt.event.MouseMotionListener


Nested Class Summary
(package private)  class SshTerminalPanel.InputStreamMonitor
           
(package private)  class SshTerminalPanel.OutputStreamMonitor
           
(package private)  class SshTerminalPanel.PrintActionImpl
           
(package private)  class SshTerminalPanel.PrintPreviewActionImpl
           
(package private)  class SshTerminalPanel.TerminalPropertiesActionImpl
           
 
Nested classes inherited from class com.sshtools.apps.SshToolsApplicationPanel
com.sshtools.apps.SshToolsApplicationPanel.ActionMenu
 
Nested classes inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
 
Nested classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Nested classes inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
(package private) static java.lang.String ABOUT_ICON
           
private  java.util.Vector actionMenus
           
private  java.util.Vector actions
           
(package private)  boolean anyHost
           
(package private)  boolean anyPort
           
(package private)  boolean anyUser
           
(package private)  boolean autoHideTools
           
(package private)  java.awt.BorderLayout borderLayout1
           
private  javax.swing.JDialog browserDialog
           
private  ClearAction clearAction
           
private  CloseAction closeAction
           
private  boolean connected
           
(package private)  javax.swing.JPanel contentPane
           
private  CopyAction copyAction
           
(package private)  boolean dialogActionsEnabled
           
protected  com.sshtools.sshterm.emulation.TerminalEmulation emulation
           
private  int eol
           
(package private)  boolean fullScreenMode
           
private  com.sshtools.j2ssh.transport.HostKeyVerification hostKeyVerification
           
private  KeygenAction keygenAction
           
private  com.sshtools.j2ssh.keygen.Main keygenFrame
           
protected static org.apache.log4j.Logger log
           
private  NewAction newAction
           
private  OpenAction openAction
           
private  java.awt.print.PageFormat pageFormat
           
private  PasteAction pasteAction
           
private  PlayAction playAction
           
private  com.sshtools.sshterm.forward.PortForwardingAction portForwardingAction
           
private  javax.swing.JDialog portForwardingDialog
           
private  com.sshtools.sshterm.forward.PortForwardingPane portForwardingPane
           
static java.lang.String PREF_PAGE_FORMAT_IMAGEABLE_H
           
static java.lang.String PREF_PAGE_FORMAT_IMAGEABLE_W
           
static java.lang.String PREF_PAGE_FORMAT_IMAGEABLE_X
           
static java.lang.String PREF_PAGE_FORMAT_IMAGEABLE_Y
           
static java.lang.String PREF_PAGE_FORMAT_ORIENTATION
           
static java.lang.String PREF_PAGE_FORMAT_SIZE_H
           
static java.lang.String PREF_PAGE_FORMAT_SIZE_W
           
static java.lang.String PREF_PORT_FORWARDING_ACTIVE_TABLE_METRICS
           
static java.lang.String PREF_PORT_FORWARDING_DIVIDER_LOCATION
           
static java.lang.String PREF_PORT_FORWARDING_FORWARDS_TABLE_METRICS
           
static java.lang.String PREF_PORT_FORWARDING_GEOMETRY
           
static java.lang.String PREF_SHIFT_GEOMETRY
           
private  PrintAction printAction
           
private  PrintPreviewAction printPreviewAction
           
private  SshToolsConnectionProfile profile
           
static java.lang.String PROFILE_PROPERTY_ANTIALIAS
           
static java.lang.String PROFILE_PROPERTY_BACKGROUND_COLOR
           
static java.lang.String PROFILE_PROPERTY_COLOR_PRINTING
           
static java.lang.String PROFILE_PROPERTY_EOL
           
static java.lang.String PROFILE_PROPERTY_FONT_SIZE
           
static java.lang.String PROFILE_PROPERTY_FOREGROUND_COLOR
           
static java.lang.String PROFILE_PROPERTY_RESIZE_STRATEGY
           
static java.lang.String PROFILE_PROPERTY_TERMINAL
           
private  RecordAction recordAction
           
private  java.io.File recordingFile
           
private  java.io.OutputStream recordingOutputStream
           
private  RefreshAction refreshAction
           
private  SaveAction saveAction
           
private  javax.swing.JScrollBar scrollBar
           
private  com.sshtools.j2ssh.session.SessionChannelClient session
           
private  com.sshtools.apps.StandardAction shiftAction
           
private  com.sshtools.j2ssh.SshClient ssh
           
(package private)  StatusBar statusBar
           
private  StopAction stopAction
           
private  com.sshtools.sshterm.emulation.TerminalPanel terminal
           
private  TerminalPropertiesAction terminalPropertiesAction
           
(package private)  javax.swing.border.TitledBorder titledBorder1
           
private  javax.swing.JSeparator toolSeparator
           
(package private)  boolean toolsVisible
           
private static long VDU_EVENTS
           
 
Fields inherited from class com.sshtools.apps.SshToolsApplicationPanel
application, container, menuBar, toolBar
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Container
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
SshTerminalPanel()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
          This method is invoked when an action occurs.
protected  boolean authenticateUser()
           
 boolean canClose()
          Check if the application can close
 void close()
          Close the application panel (clean up should be done here)
 void closeConnection(boolean doDisconnect)
           
 void connect()
           
private  void connect(SshToolsConnectionProfile profile)
           
private  com.sshtools.sshterm.emulation.TerminalEmulation createEmulation()
           
 SshToolsConnectionProfile getConnectionProfile()
           
 void init(com.sshtools.apps.SshToolsApplication application)
          Invoked by the application framework when the frame is created
private  void initActions()
           
 boolean isAutoHideTools()
           
 boolean isConnected()
           
 boolean isFullScreenMode()
           
 boolean isToolsVisible()
           
 void lostOwnership(java.awt.datatransfer.Clipboard clipboard, java.awt.datatransfer.Transferable contents)
          This method is called to notify this object that it no longer has ownership of the specified Clipboard.
 void mouseDragged(java.awt.event.MouseEvent e)
          This method is called when the mouse is moved over a component while a button has been pressed.
 void mouseMoved(java.awt.event.MouseEvent e)
          This method is called when the mouse is moved over a component while no button is pressed.
 void printScreen()
           
 void registerAction(com.sshtools.apps.StandardAction action)
          Register an action.
 void requestFocus()
          Requests that this component gets the input focus if the requestFocusEnabled property is set to true.
 void screenResized(int w, int h)
           
 void setAnyHost(boolean anyHost)
           
 void setAnyPort(boolean anyPort)
           
 void setAnyUser(boolean anyUser)
           
 void setAutoHideTools(boolean autoHideTools)
           
private  void setAvailableActions()
           
 void setConnectionProfile(SshToolsConnectionProfile profile)
           
 void setDialogActionsEnabled(boolean enable)
           
 void setFullScreenMode(boolean full)
           
 void setMenuBarVisible(boolean visible)
           
 void setScrollBarVisible(boolean visible)
           
 void setStatusBarVisible(boolean visible)
           
private  void setTerminalProperties(SshToolsConnectionProfile profile)
           
 void setToolBarVisible(boolean visible)
           
 void setToolsVisible(boolean visible)
           
protected  void showExceptionMessage(java.lang.String title, java.lang.String message)
           
 void stopRecording()
           
 
Methods inherited from class com.sshtools.apps.SshToolsApplicationPanel
deregisterAction, getActionMenu, getApplication, getContainer, getJMenuBar, getToolBar, rebuildActionComponents, registerActionMenu, setContainer
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PREF_SHIFT_GEOMETRY

public static final java.lang.String PREF_SHIFT_GEOMETRY
See Also:
Constant Field Values

PREF_PORT_FORWARDING_GEOMETRY

public static final java.lang.String PREF_PORT_FORWARDING_GEOMETRY
See Also:
Constant Field Values

PREF_PORT_FORWARDING_DIVIDER_LOCATION

public static final java.lang.String PREF_PORT_FORWARDING_DIVIDER_LOCATION
See Also:
Constant Field Values

PREF_PORT_FORWARDING_FORWARDS_TABLE_METRICS

public static final java.lang.String PREF_PORT_FORWARDING_FORWARDS_TABLE_METRICS
See Also:
Constant Field Values

PREF_PORT_FORWARDING_ACTIVE_TABLE_METRICS

public static final java.lang.String PREF_PORT_FORWARDING_ACTIVE_TABLE_METRICS
See Also:
Constant Field Values

PREF_PAGE_FORMAT_IMAGEABLE_X

public static final java.lang.String PREF_PAGE_FORMAT_IMAGEABLE_X
See Also:
Constant Field Values

PREF_PAGE_FORMAT_IMAGEABLE_Y

public static final java.lang.String PREF_PAGE_FORMAT_IMAGEABLE_Y
See Also:
Constant Field Values

PREF_PAGE_FORMAT_IMAGEABLE_W

public static final java.lang.String PREF_PAGE_FORMAT_IMAGEABLE_W
See Also:
Constant Field Values

PREF_PAGE_FORMAT_IMAGEABLE_H

public static final java.lang.String PREF_PAGE_FORMAT_IMAGEABLE_H
See Also:
Constant Field Values

PREF_PAGE_FORMAT_SIZE_W

public static final java.lang.String PREF_PAGE_FORMAT_SIZE_W
See Also:
Constant Field Values

PREF_PAGE_FORMAT_SIZE_H

public static final java.lang.String PREF_PAGE_FORMAT_SIZE_H
See Also:
Constant Field Values

PREF_PAGE_FORMAT_ORIENTATION

public static final java.lang.String PREF_PAGE_FORMAT_ORIENTATION
See Also:
Constant Field Values

PROFILE_PROPERTY_TERMINAL

public static final java.lang.String PROFILE_PROPERTY_TERMINAL
See Also:
Constant Field Values

PROFILE_PROPERTY_EOL

public static final java.lang.String PROFILE_PROPERTY_EOL
See Also:
Constant Field Values

PROFILE_PROPERTY_RESIZE_STRATEGY

public static final java.lang.String PROFILE_PROPERTY_RESIZE_STRATEGY
See Also:
Constant Field Values

PROFILE_PROPERTY_ANTIALIAS

public static final java.lang.String PROFILE_PROPERTY_ANTIALIAS
See Also:
Constant Field Values

PROFILE_PROPERTY_FONT_SIZE

public static final java.lang.String PROFILE_PROPERTY_FONT_SIZE
See Also:
Constant Field Values

PROFILE_PROPERTY_BACKGROUND_COLOR

public static final java.lang.String PROFILE_PROPERTY_BACKGROUND_COLOR
See Also:
Constant Field Values

PROFILE_PROPERTY_FOREGROUND_COLOR

public static final java.lang.String PROFILE_PROPERTY_FOREGROUND_COLOR
See Also:
Constant Field Values

PROFILE_PROPERTY_COLOR_PRINTING

public static final java.lang.String PROFILE_PROPERTY_COLOR_PRINTING
See Also:
Constant Field Values

VDU_EVENTS

private static final long VDU_EVENTS
See Also:
Constant Field Values

ABOUT_ICON

static final java.lang.String ABOUT_ICON
See Also:
Constant Field Values

log

protected static org.apache.log4j.Logger log

scrollBar

private javax.swing.JScrollBar scrollBar

ssh

private com.sshtools.j2ssh.SshClient ssh

session

private com.sshtools.j2ssh.session.SessionChannelClient session

eol

private int eol

terminal

private com.sshtools.sshterm.emulation.TerminalPanel terminal

hostKeyVerification

private com.sshtools.j2ssh.transport.HostKeyVerification hostKeyVerification

keygenFrame

private com.sshtools.j2ssh.keygen.Main keygenFrame

portForwardingPane

private com.sshtools.sshterm.forward.PortForwardingPane portForwardingPane

actionMenus

private java.util.Vector actionMenus

portForwardingDialog

private javax.swing.JDialog portForwardingDialog

browserDialog

private javax.swing.JDialog browserDialog

connected

private boolean connected

emulation

protected com.sshtools.sshterm.emulation.TerminalEmulation emulation

newAction

private NewAction newAction

openAction

private OpenAction openAction

saveAction

private SaveAction saveAction

printPreviewAction

private PrintPreviewAction printPreviewAction

terminalPropertiesAction

private TerminalPropertiesAction terminalPropertiesAction

printAction

private PrintAction printAction

closeAction

private CloseAction closeAction

copyAction

private CopyAction copyAction

pasteAction

private PasteAction pasteAction

keygenAction

private KeygenAction keygenAction

clearAction

private ClearAction clearAction

refreshAction

private RefreshAction refreshAction

playAction

private PlayAction playAction

stopAction

private StopAction stopAction

recordAction

private RecordAction recordAction

shiftAction

private com.sshtools.apps.StandardAction shiftAction

portForwardingAction

private com.sshtools.sshterm.forward.PortForwardingAction portForwardingAction

actions

private java.util.Vector actions

pageFormat

private java.awt.print.PageFormat pageFormat

profile

private SshToolsConnectionProfile profile

toolSeparator

private javax.swing.JSeparator toolSeparator

contentPane

javax.swing.JPanel contentPane

recordingOutputStream

private java.io.OutputStream recordingOutputStream

recordingFile

private java.io.File recordingFile

statusBar

StatusBar statusBar

titledBorder1

javax.swing.border.TitledBorder titledBorder1

borderLayout1

java.awt.BorderLayout borderLayout1

anyHost

boolean anyHost

anyUser

boolean anyUser

anyPort

boolean anyPort

toolsVisible

boolean toolsVisible

autoHideTools

boolean autoHideTools

dialogActionsEnabled

boolean dialogActionsEnabled

fullScreenMode

boolean fullScreenMode
Constructor Detail

SshTerminalPanel

public SshTerminalPanel()
Method Detail

init

public void init(com.sshtools.apps.SshToolsApplication application)
          throws com.sshtools.apps.SshToolsApplicationException
Description copied from class: com.sshtools.apps.SshToolsApplicationPanel
Invoked by the application framework when the frame is created


setFullScreenMode

public void setFullScreenMode(boolean full)

isFullScreenMode

public boolean isFullScreenMode()

requestFocus

public void requestFocus()
Description copied from class: javax.swing.JComponent
Requests that this component gets the input focus if the requestFocusEnabled property is set to true. This also means that this component's top-level window becomes the focused window, if that is not already the case. The preconditions that have to be met to become a focus owner is that the component must be displayable, visible and focusable. Note that this signals only a request for becoming focused. There are situations in which it is not possible to get the focus. So developers should not assume that the component has the focus until it receives a java.awt.event.FocusEvent with a value of FocusEvent.FOCUS_GAINED>FocusEvent.FOCUS_GAINED 55 .


setMenuBarVisible

public void setMenuBarVisible(boolean visible)

setToolBarVisible

public void setToolBarVisible(boolean visible)

isAutoHideTools

public boolean isAutoHideTools()

setAutoHideTools

public void setAutoHideTools(boolean autoHideTools)

setStatusBarVisible

public void setStatusBarVisible(boolean visible)

setScrollBarVisible

public void setScrollBarVisible(boolean visible)

isToolsVisible

public boolean isToolsVisible()

setToolsVisible

public void setToolsVisible(boolean visible)

registerAction

public void registerAction(com.sshtools.apps.StandardAction action)
Description copied from class: com.sshtools.apps.SshToolsApplicationPanel
Register an action.


lostOwnership

public void lostOwnership(java.awt.datatransfer.Clipboard clipboard,
                          java.awt.datatransfer.Transferable contents)
Description copied from interface: java.awt.datatransfer.ClipboardOwner
This method is called to notify this object that it no longer has ownership of the specified Clipboard.

Specified by:
lostOwnership in interface java.awt.datatransfer.ClipboardOwner

setAnyHost

public void setAnyHost(boolean anyHost)

setAnyUser

public void setAnyUser(boolean anyUser)

setAnyPort

public void setAnyPort(boolean anyPort)

screenResized

public void screenResized(int w,
                          int h)
Specified by:
screenResized in interface com.sshtools.sshterm.emulation.TerminalListener

mouseDragged

public void mouseDragged(java.awt.event.MouseEvent e)
Description copied from interface: java.awt.event.MouseMotionListener
This method is called when the mouse is moved over a component while a button has been pressed.

Specified by:
mouseDragged in interface java.awt.event.MouseMotionListener

mouseMoved

public void mouseMoved(java.awt.event.MouseEvent e)
Description copied from interface: java.awt.event.MouseMotionListener
This method is called when the mouse is moved over a component while no button is pressed.

Specified by:
mouseMoved in interface java.awt.event.MouseMotionListener

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)
Description copied from interface: java.awt.event.ActionListener
This method is invoked when an action occurs.

Specified by:
actionPerformed in interface java.awt.event.ActionListener

stopRecording

public void stopRecording()

isConnected

public boolean isConnected()

closeConnection

public void closeConnection(boolean doDisconnect)

canClose

public boolean canClose()
Description copied from class: com.sshtools.apps.SshToolsApplicationPanel
Check if the application can close


setConnectionProfile

public void setConnectionProfile(SshToolsConnectionProfile profile)

getConnectionProfile

public SshToolsConnectionProfile getConnectionProfile()

printScreen

public void printScreen()

connect

public void connect()
             throws com.sshtools.j2ssh.SshException

connect

private void connect(SshToolsConnectionProfile profile)
              throws com.sshtools.j2ssh.SshException

setTerminalProperties

private void setTerminalProperties(SshToolsConnectionProfile profile)

initActions

private void initActions()

setDialogActionsEnabled

public void setDialogActionsEnabled(boolean enable)

setAvailableActions

private void setAvailableActions()

createEmulation

private com.sshtools.sshterm.emulation.TerminalEmulation createEmulation()
                                                                  throws java.io.IOException

showExceptionMessage

protected void showExceptionMessage(java.lang.String title,
                                    java.lang.String message)

close

public void close()
Description copied from class: com.sshtools.apps.SshToolsApplicationPanel
Close the application panel (clean up should be done here)


authenticateUser

protected boolean authenticateUser()
                            throws java.io.IOException