com.mindbright.application
public class MindTermTelnet extends MindTerm implements java.lang.Runnable, java.awt.event.WindowListener, TerminalMenuListener, SSHInteractor
javax.swing.JApplet.AccessibleJApplet
java.applet.Applet.AccessibleApplet
frame, javaVendor, javaVersion, osArch, osName, osVersion, weAreAnApplet
accessibleContext, rootPane, rootPaneCheckingEnabled
Constructor and Description |
---|
MindTermTelnet() |
Modifier and Type | Method and Description |
---|---|
void |
alert(java.lang.String msg) |
boolean |
askConfirmation(java.lang.String message,
boolean defAnswer) |
void |
close(TerminalMenuHandler originMenu)
Called when the user has selected close in the menu
|
void |
connected(SSHClient client) |
void |
destroy() |
void |
disconnected(SSHClient client,
boolean graceful) |
void |
getAppletParams() |
void |
init() |
void |
initGUI()
Create the GUI
|
boolean |
isVerbose() |
boolean |
licenseDialog(java.lang.String license) |
static void |
main(java.lang.String[] argv) |
void |
open(SSHClient client) |
java.lang.String |
promptLine(java.lang.String prompt,
java.lang.String defaultVal) |
java.lang.String |
promptPassword(java.lang.String prompt) |
void |
propsStateChanged(SSHPropertyHandler props) |
boolean |
quietPrompts() |
void |
report(java.lang.String msg) |
void |
run() |
void |
sessionStarted(SSHClient client) |
void |
startNewSession(SSHClient client) |
void |
telnetConnect()
Create the terminal window and connect to the remote host.
|
void |
update()
Called when the menu is updated
|
void |
windowActivated(java.awt.event.WindowEvent e) |
void |
windowClosed(java.awt.event.WindowEvent e) |
void |
windowClosing(java.awt.event.WindowEvent e)
Handles window close events by closing the socket to the server
(if any).
|
void |
windowDeactivated(java.awt.event.WindowEvent e) |
void |
windowDeiconified(java.awt.event.WindowEvent e) |
void |
windowIconified(java.awt.event.WindowEvent e) |
void |
windowOpened(java.awt.event.WindowEvent e) |
cloneWindow, close, confirmClose, doExit, exit, getAppletContext, getApplicationParams, newWindow
addImpl, createRootPane, getAccessibleContext, getContentPane, getGlassPane, getGraphics, getJMenuBar, getLayeredPane, getRootPane, getTransferHandler, isRootPaneCheckingEnabled, paramString, remove, repaint, setContentPane, setGlassPane, setJMenuBar, setLayeredPane, setLayout, setRootPane, setRootPaneCheckingEnabled, setTransferHandler, update
getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop
add, add, add, add, add, addContainerListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMinimumSize, getMousePosition, getPreferredSize, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paint, paintComponents, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, transferFocusDownCycle, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public void telnetConnect()
public void getAppletParams()
getAppletParams
in class MindTerm
public void run()
public static void main(java.lang.String[] argv)
public void windowClosing(java.awt.event.WindowEvent e)
windowClosing
in interface java.awt.event.WindowListener
windowClosing
in class MindTerm
public void windowDeiconified(java.awt.event.WindowEvent e)
windowDeiconified
in interface java.awt.event.WindowListener
windowDeiconified
in class MindTerm
public void windowOpened(java.awt.event.WindowEvent e)
windowOpened
in interface java.awt.event.WindowListener
windowOpened
in class MindTerm
public void windowClosed(java.awt.event.WindowEvent e)
windowClosed
in interface java.awt.event.WindowListener
windowClosed
in class MindTerm
public void windowIconified(java.awt.event.WindowEvent e)
windowIconified
in interface java.awt.event.WindowListener
windowIconified
in class MindTerm
public void windowActivated(java.awt.event.WindowEvent e)
windowActivated
in interface java.awt.event.WindowListener
windowActivated
in class MindTerm
public void windowDeactivated(java.awt.event.WindowEvent e)
windowDeactivated
in interface java.awt.event.WindowListener
windowDeactivated
in class MindTerm
public void close(TerminalMenuHandler originMenu)
TerminalMenuListener
close
in interface TerminalMenuListener
originMenu
- the menu where close was selectedpublic void update()
TerminalMenuListener
update
in interface TerminalMenuListener
public void startNewSession(SSHClient client)
startNewSession
in interface SSHInteractor
public void sessionStarted(SSHClient client)
sessionStarted
in interface SSHInteractor
public void connected(SSHClient client)
connected
in interface SSHInteractor
public void open(SSHClient client)
open
in interface SSHInteractor
public void disconnected(SSHClient client, boolean graceful)
disconnected
in interface SSHInteractor
public void report(java.lang.String msg)
report
in interface SSHInteractor
public void alert(java.lang.String msg)
alert
in interface SSHInteractor
public void propsStateChanged(SSHPropertyHandler props)
propsStateChanged
in interface SSHInteractor
public boolean askConfirmation(java.lang.String message, boolean defAnswer)
askConfirmation
in interface SSHInteractor
public boolean licenseDialog(java.lang.String license)
licenseDialog
in interface SSHInteractor
public boolean quietPrompts()
quietPrompts
in interface SSHInteractor
public java.lang.String promptLine(java.lang.String prompt, java.lang.String defaultVal) throws java.io.IOException
promptLine
in interface SSHInteractor
java.io.IOException
public java.lang.String promptPassword(java.lang.String prompt) throws java.io.IOException
promptPassword
in interface SSHInteractor
java.io.IOException
public boolean isVerbose()
isVerbose
in interface SSHInteractor