Package | Description |
---|---|
com.googlecode.lanterna.screen | |
com.googlecode.lanterna.terminal | |
com.googlecode.lanterna.terminal.ansi | |
com.googlecode.lanterna.terminal.swing |
Modifier and Type | Method and Description |
---|---|
Terminal |
TerminalScreen.getTerminal()
Returns the underlying
Terminal interface that this Screen is using. |
Constructor and Description |
---|
TerminalScreen(Terminal terminal)
Creates a new Screen on top of a supplied terminal, will query the terminal for its size.
|
TerminalScreen(Terminal terminal,
TextCharacter defaultCharacter)
Creates a new Screen on top of a supplied terminal, will query the terminal for its size.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ExtendedTerminal
This class extends the normal Terminal interface and adds a few more methods that are considered rare and shouldn't
be encouraged to be used.
|
interface |
IOSafeExtendedTerminal
Interface extending ExtendedTerminal that removes the IOException throw clause.
|
interface |
IOSafeTerminal
Interface extending Terminal that removes the IOException throw clause.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractTerminal
Containing a some very fundamental functionality that should be common (and usable) to all terminal implementations.
|
class |
IOSafeTerminalAdapter
This class exposes methods for converting a terminal into an IOSafeTerminal.
|
static class |
IOSafeTerminalAdapter.Extended
This class exposes methods for converting an extended terminal into an IOSafeExtendedTerminal.
|
Modifier and Type | Method and Description |
---|---|
Terminal |
TerminalFactory.createTerminal()
Instantiates a Terminal according to the factory implementation.
|
Terminal |
DefaultTerminalFactory.createTerminal() |
Terminal |
DefaultTerminalFactory.createTerminalEmulator()
Creates a new terminal emulator window which will be either Swing-based or AWT-based depending on what is
available on the system
|
Modifier and Type | Method and Description |
---|---|
static IOSafeTerminal |
IOSafeTerminalAdapter.createDoNothingOnExceptionAdapter(Terminal terminal)
Creates a wrapper around a Terminal that exposes it as a IOSafeTerminal.
|
static IOSafeTerminal |
IOSafeTerminalAdapter.createRuntimeExceptionConvertingAdapter(Terminal terminal)
Creates a wrapper around a Terminal that exposes it as a IOSafeTerminal.
|
void |
SimpleTerminalResizeListener.onResized(Terminal terminal,
TerminalSize newSize) |
void |
ResizeListener.onResized(Terminal terminal,
TerminalSize newSize)
The terminal has changed its size, most likely because the user has resized the window.
|
Constructor and Description |
---|
IOSafeTerminalAdapter(Terminal backend,
com.googlecode.lanterna.terminal.IOSafeTerminalAdapter.ExceptionHandler exceptionHandler) |
Modifier and Type | Class and Description |
---|---|
class |
ANSITerminal
Class containing graphics code for ANSI compliant text terminals and terminal emulators.
|
class |
CygwinTerminal
This class extends UnixLikeTerminal and implements the Cygwin-specific implementations.
|
class |
StreamBasedTerminal
An abstract terminal implementing functionality for terminals using OutputStream/InputStream.
|
class |
TelnetTerminal
This class is used by the
TelnetTerminalServer class when a client has connected in; this class will be the
interaction point for that client. |
class |
UnixLikeTerminal
UnixLikeTerminal extends from ANSITerminal and defines functionality that is common to
UnixTerminal and CygwinTerminal , like setting tty modes; echo, cbreak
and minimum characters for reading as well as a shutdown hook to set the tty back to
original state at the end. |
class |
UnixTerminal
This class extends UnixLikeTerminal and implements the Unix-specific parts.
|
Modifier and Type | Class and Description |
---|---|
class |
AWTTerminal
This class provides an AWT implementation of the Terminal interface that is an embeddable component you can put into
an AWT container.
|
class |
AWTTerminalFrame
This class is similar to what SwingTerminal used to be before Lanterna 3.0; a Frame that contains a terminal
emulator.
|
class |
ScrollingAWTTerminal
This is a AWT Container that carries an
AWTTerminal with a scrollbar, effectively implementing a
pseudo-terminal with scrollback history. |
class |
ScrollingSwingTerminal
This is a Swing JComponent that carries a
SwingTerminal with a scrollbar, effectively implementing a
pseudo-terminal with scrollback history. |
class |
SwingTerminal
This class provides an Swing implementation of the
Terminal interface that
is an embeddable component you can put into a Swing container. |
class |
SwingTerminalFrame
This class is similar to what SwingTerminal used to be before Lanterna 3.0; a JFrame that contains a terminal
emulator.
|
Copyright © 2016. All rights reserved.