thor.app
Class VT100Telnet

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Canvas
              |
              +--thor.app.BasicTelnet
                    |
                    +--thor.app.VT100Telnet
All Implemented Interfaces:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.lang.Runnable, java.io.Serializable

public class VT100Telnet
extends BasicTelnet

VT100 Telnet just adds a partial VT100 terminal emulation on top of BasicTelnet, it uses a slightly different TelnetTerminalHandler and a very different process().

  use:
    java thor.app.VT100Telnet myhost [myport]
  
-- Daniel Kristjansson May 27, 2000 The LGPL applies to this software.
Unless otherwise stated the software is Copyright 1996,2000 Daniel Kristjansson

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class java.awt.Canvas
java.awt.Canvas.AccessibleAWTCanvas
 
Nested classes inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
 
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
VT100Telnet(java.lang.String host)
           
VT100Telnet(java.lang.String host, int port)
           
 
Method Summary
 void cursorSet(int y, int x)
           
 void deleteChar(int n)
           
 void deleteLine(int n)
           
 void initProcess()
          initProcess() is intended to initialize any processing
 void insertChar(int n)
           
 void insertLine(int n)
           
 boolean keyUp(java.awt.Event evt, int key)
          This is the old Java 1.1 way to get characters from the keyboard.
static void main(java.lang.String[] args)
           
 void process(byte c)
          process() in BasicTelnet simply calls normal()
 void tabClear()
           
 int tabNext(int col)
           
 void tabSet()
           
 void tabZonk()
           
 void trackMouse(int func, int startrow, int startcol, int firstrow, int lastrow)
           
 
Methods inherited from class thor.app.BasicTelnet
normal, paint, run, scrValid, update
 
Methods inherited from class java.awt.Canvas
addNotify, createBufferStrategy, createBufferStrategy, getAccessibleContext, getBufferStrategy
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, deliverEvent, disable, disableEvents, dispatchEvent, doLayout, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, getAlignmentX, getAlignmentY, getBackground, getBounds, getBounds, getColorModel, getComponentAt, getComponentAt, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeys, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMaximumSize, getMinimumSize, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, invalidate, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusCycleRoot, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isOpaque, isShowing, isValid, isVisible, keyDown, layout, list, list, list, list, list, locate, location, lostFocus, minimumSize, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, paramString, postEvent, preferredSize, prepareImage, prepareImage, print, printAll, processComponentEvent, processEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusable, setFocusTraversalKeys, setFocusTraversalKeysEnabled, setFont, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VT100Telnet

public VT100Telnet(java.lang.String host)
            throws java.io.IOException

VT100Telnet

public VT100Telnet(java.lang.String host,
                   int port)
            throws java.io.IOException
Method Detail

main

public static void main(java.lang.String[] args)

keyUp

public boolean keyUp(java.awt.Event evt,
                     int key)
Description copied from class: BasicTelnet
This is the old Java 1.1 way to get characters from the keyboard.

Overrides:
keyUp in class BasicTelnet

initProcess

public void initProcess()
Description copied from class: BasicTelnet
initProcess() is intended to initialize any processing

Overrides:
initProcess in class BasicTelnet

tabClear

public void tabClear()

tabSet

public void tabSet()

tabZonk

public void tabZonk()

tabNext

public int tabNext(int col)

insertLine

public void insertLine(int n)

deleteLine

public void deleteLine(int n)

deleteChar

public void deleteChar(int n)

insertChar

public void insertChar(int n)

trackMouse

public void trackMouse(int func,
                       int startrow,
                       int startcol,
                       int firstrow,
                       int lastrow)

cursorSet

public void cursorSet(int y,
                      int x)

process

public void process(byte c)
Description copied from class: BasicTelnet
process() in BasicTelnet simply calls normal()

Overrides:
process in class BasicTelnet