Package | Description |
---|---|
com.googlecode.lanterna | |
com.googlecode.lanterna.screen | |
com.googlecode.lanterna.terminal | |
com.googlecode.lanterna.terminal.swing | |
com.googlecode.lanterna.terminal.text |
Modifier and Type | Method and Description |
---|---|
static Terminal |
TerminalFacade.createTerminal()
This method will return a
SwingTerminal if
you are running the program on a system with a graphical environment
available, otherwise a suitable text-based Terminal , all with
default settings. |
static Terminal |
TerminalFacade.createTerminal(Charset terminalCharset)
Creates a default terminal with a specified character set.
|
static Terminal |
TerminalFacade.createTerminal(InputStream terminalInput,
OutputStream terminalOutput)
Creates a default terminal with a specified input/output streams.
|
static Terminal |
TerminalFacade.createTerminal(InputStream terminalInput,
OutputStream terminalOutput,
Charset terminalCharset)
Creates a default terminal with a specified character set and
input/output streams.
|
static Terminal |
TerminalFacade.createTextTerminal() |
static Terminal |
TerminalFacade.createTextTerminal(InputStream terminalInput,
OutputStream terminalOutput,
Charset terminalCharset) |
Modifier and Type | Method and Description |
---|---|
static GUIScreen |
TerminalFacade.createGUIScreen(Terminal terminal)
Creates a
GUIScreen backed by a supplied Terminal |
static Screen |
TerminalFacade.createScreen(Terminal terminal)
Creates a
Screen backed by a supplied Terminal |
Modifier and Type | Method and Description |
---|---|
Terminal |
Screen.getTerminal() |
Constructor and Description |
---|
Screen(Terminal terminal)
Creates a new Screen on top of a supplied terminal, will query the terminal
for its size.
|
Screen(Terminal terminal,
int terminalWidth,
int terminalHeight)
Creates a new Screen on top of a supplied terminal and will set the size
of the screen to a supplied value.
|
Screen(Terminal terminal,
TerminalSize terminalSize)
Creates a new Screen on top of a supplied terminal and will set the size
of the screen to a supplied value.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractTerminal
Containing a some very fundamental implementations that should be common for
all terminals
|
class |
InputEnabledAbstractTerminal
This is an abstract terminal that can also read input events (keys), with a
default implementation of the methods from
InputProvider . |
Modifier and Type | Class and Description |
---|---|
class |
SwingTerminal
A Swing-based text terminal emulator
|
Modifier and Type | Class and Description |
---|---|
class |
ANSITerminal
A common ANSI text terminal implementation
|
class |
CygwinTerminal
This class is trying to provide some special workarounds in order to function
in Cygwin terminal environments.
|
class |
StreamBasedTerminal
An abstract terminal implementing functionality for terminals using
OutputStream/InputStream
|
class |
UnixTerminal
A common ANSI terminal extention with support for Unix resize signals and
the stty program to control cbreak and key echo
|
Copyright © 2014. All Rights Reserved.