|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Panel
java.applet.Applet
com.mindbright.application.MindTerm
com.mindbright.application.MindTermTelnet
public class MindTermTelnet
Open a telnet window and connect with the telnet protocol. SSH is not involved at all.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.applet.Applet |
|---|
java.applet.Applet.AccessibleApplet |
| Nested classes/interfaces inherited from class java.awt.Panel |
|---|
java.awt.Panel.AccessibleAWTPanel |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
java.awt.Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class com.mindbright.application.MindTerm |
|---|
javaVendor, javaVersion, osArch, osName, osVersion, weAreAnApplet |
| 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 | |
|---|---|
MindTermTelnet()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class com.mindbright.application.MindTerm |
|---|
cloneWindow, close, confirmClose, doExit, exit, getAppletContext, getApplicationParams, newWindow |
| Methods inherited from class java.applet.Applet |
|---|
getAccessibleContext, getAppletInfo, getAudioClip, getAudioClip, getCodeBase, getDocumentBase, getImage, getImage, getLocale, getParameter, getParameterInfo, isActive, newAudioClip, play, play, resize, resize, setStub, showStatus, start, stop |
| Methods inherited from class java.awt.Panel |
|---|
addNotify |
| Methods inherited from class java.awt.Container |
|---|
add, add, add, add, add, addContainerListener, addImpl, 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, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusBackward, transferFocusDownCycle, update, 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, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, 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, 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, transferFocusUpCycle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MindTermTelnet()
| Method Detail |
|---|
public void telnetConnect()
public void initGUI()
initGUI in class MindTermpublic void getAppletParams()
getAppletParams in class MindTermpublic void init()
init in class MindTermpublic void run()
run in interface java.lang.Runnablerun in class MindTermpublic void destroy()
destroy in class MindTermpublic static void main(java.lang.String[] argv)
public void windowClosing(java.awt.event.WindowEvent e)
windowClosing in interface java.awt.event.WindowListenerwindowClosing in class MindTermpublic void windowDeiconified(java.awt.event.WindowEvent e)
windowDeiconified in interface java.awt.event.WindowListenerwindowDeiconified in class MindTermpublic void windowOpened(java.awt.event.WindowEvent e)
windowOpened in interface java.awt.event.WindowListenerwindowOpened in class MindTermpublic void windowClosed(java.awt.event.WindowEvent e)
windowClosed in interface java.awt.event.WindowListenerwindowClosed in class MindTermpublic void windowIconified(java.awt.event.WindowEvent e)
windowIconified in interface java.awt.event.WindowListenerwindowIconified in class MindTermpublic void windowActivated(java.awt.event.WindowEvent e)
windowActivated in interface java.awt.event.WindowListenerwindowActivated in class MindTermpublic void windowDeactivated(java.awt.event.WindowEvent e)
windowDeactivated in interface java.awt.event.WindowListenerwindowDeactivated in class MindTermpublic void close(TerminalMenuHandler originMenu)
TerminalMenuListener
close in interface TerminalMenuListeneroriginMenu - the menu where close was selectedpublic void update()
TerminalMenuListener
update in interface TerminalMenuListenerpublic void startNewSession(SSHClient client)
startNewSession in interface SSHInteractorpublic void sessionStarted(SSHClient client)
sessionStarted in interface SSHInteractorpublic void connected(SSHClient client)
connected in interface SSHInteractorpublic void open(SSHClient client)
open in interface SSHInteractor
public void disconnected(SSHClient client,
boolean graceful)
disconnected in interface SSHInteractorpublic void report(java.lang.String msg)
report in interface SSHInteractorpublic void alert(java.lang.String msg)
alert in interface SSHInteractorpublic void propsStateChanged(SSHPropertyHandler props)
propsStateChanged in interface SSHInteractor
public boolean askConfirmation(java.lang.String message,
boolean defAnswer)
askConfirmation in interface SSHInteractorpublic boolean licenseDialog(java.lang.String license)
licenseDialog in interface SSHInteractorpublic 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 SSHInteractorjava.io.IOException
public java.lang.String promptPassword(java.lang.String prompt)
throws java.io.IOException
promptPassword in interface SSHInteractorjava.io.IOExceptionpublic boolean isVerbose()
isVerbose in interface SSHInteractor
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||