org.metasyntactic.system.terminal
Class VT100

java.lang.Object
  |
  +--org.metasyntactic.system.Terminal
        |
        +--org.metasyntactic.system.terminal.VT100

public class VT100
extends Terminal


Constructor Summary
VT100()
          Creates new VT100
 
Method Summary
 void clearScreen()
           
 void eraseLine()
           
 int getColumns()
           
 int[] getCursorPosition()
           
 int getRows()
           
static void main(java.lang.String[] args)
           
 void moveCursor(int row, int height)
           
 void moveCursorDown(int rows)
           
 void moveCursorLeft(int rows)
           
 void moveCursorRight(int rows)
           
 void moveCursorUp(int rows)
           
 void setLineWrapping(boolean on)
           
 
Methods inherited from class org.metasyntactic.system.Terminal
getTerminal, moveCursorDown, moveCursorLeft, moveCursorRight, moveCursorUp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VT100

public VT100()
Creates new VT100

Method Detail

getRows

public int getRows()
Specified by:
getRows in class Terminal

moveCursorUp

public void moveCursorUp(int rows)
Specified by:
moveCursorUp in class Terminal

moveCursor

public void moveCursor(int row,
                       int height)
Specified by:
moveCursor in class Terminal

moveCursorRight

public void moveCursorRight(int rows)
Specified by:
moveCursorRight in class Terminal

moveCursorLeft

public void moveCursorLeft(int rows)
Specified by:
moveCursorLeft in class Terminal

getColumns

public int getColumns()
Specified by:
getColumns in class Terminal

eraseLine

public void eraseLine()
Specified by:
eraseLine in class Terminal

moveCursorDown

public void moveCursorDown(int rows)
Specified by:
moveCursorDown in class Terminal

clearScreen

public void clearScreen()
Specified by:
clearScreen in class Terminal

getCursorPosition

public int[] getCursorPosition()
Specified by:
getCursorPosition in class Terminal

setLineWrapping

public void setLineWrapping(boolean on)
Specified by:
setLineWrapping in class Terminal

main

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