org.metasyntactic.system
Class Terminal

java.lang.Object
  |
  +--org.metasyntactic.system.Terminal
Direct Known Subclasses:
VT100

public abstract class Terminal
extends java.lang.Object


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

Constructor Detail

Terminal

public Terminal()
Method Detail

getTerminal

public Terminal getTerminal()

getRows

public abstract int getRows()

getColumns

public abstract int getColumns()

getCursorPosition

public abstract int[] getCursorPosition()

moveCursor

public abstract void moveCursor(int row,
                                int height)

moveCursorUp

public abstract void moveCursorUp(int rows)

moveCursorDown

public abstract void moveCursorDown(int rows)

moveCursorRight

public abstract void moveCursorRight(int rows)

moveCursorLeft

public abstract void moveCursorLeft(int rows)

setLineWrapping

public abstract void setLineWrapping(boolean on)

moveCursorUp

public void moveCursorUp()

moveCursorDown

public void moveCursorDown()

moveCursorRight

public void moveCursorRight()

moveCursorLeft

public void moveCursorLeft()

clearScreen

public abstract void clearScreen()

eraseLine

public abstract void eraseLine()