jline
Class Terminal.WindowsTerminal

java.lang.Object
  |
  +--jline.Terminal
        |
        +--jline.Terminal.WindowsTerminal
Enclosing class:
Terminal

public static class Terminal.WindowsTerminal
extends Terminal

Terminal that is used for Windows platforms.

Author:
Marc Prud'hommeaux

Nested Class Summary
 
Nested classes inherited from class jline.Terminal
Terminal.UnixTerminal, Terminal.WindowsTerminal
 
Constructor Summary
Terminal.WindowsTerminal()
           
 
Method Summary
 int getTerminalHeight()
          Always returng 24, since we can't access this info on Windows.
 int getTerminalWidth()
          Always returng 80, since we can't access this info on Windows.
 void initializeTerminal()
          Initialize any system settings that are required for the console to be able to handle input correctly, such as setting tabtop, buffered input, and character echo.
 
Methods inherited from class jline.Terminal
setupTerminal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Terminal.WindowsTerminal

public Terminal.WindowsTerminal()
Method Detail

initializeTerminal

public void initializeTerminal()
Description copied from class: Terminal
Initialize any system settings that are required for the console to be able to handle input correctly, such as setting tabtop, buffered input, and character echo.

Specified by:
initializeTerminal in class Terminal

getTerminalWidth

public int getTerminalWidth()
Always returng 80, since we can't access this info on Windows.

Specified by:
getTerminalWidth in class Terminal

getTerminalHeight

public int getTerminalHeight()
Always returng 24, since we can't access this info on Windows.

Specified by:
getTerminalHeight in class Terminal


Released under the terms of the GNU LGPL