Uses of Interface
com.googlecode.lanterna.terminal.Terminal
Packages that use Terminal
Package
Description
-
Uses of Terminal in com.googlecode.lanterna.screen
Methods in com.googlecode.lanterna.screen that return TerminalModifier and TypeMethodDescriptionTerminalScreen.getTerminal()Returns the underlyingTerminalinterface that this Screen is using.Constructors in com.googlecode.lanterna.screen with parameters of type TerminalModifierConstructorDescriptionTerminalScreen(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. -
Uses of Terminal in com.googlecode.lanterna.terminal
Subinterfaces of Terminal in com.googlecode.lanterna.terminalModifier and TypeInterfaceDescriptioninterfaceThis class extends the normal Terminal interface and adds a few more methods that are considered rare and shouldn't be encouraged to be used.interfaceInterface extending ExtendedTerminal that removes the IOException throw clause.interfaceInterface extending Terminal that removes the IOException throw clause.Classes in com.googlecode.lanterna.terminal that implement TerminalModifier and TypeClassDescriptionclassContaining a some very fundamental functionality that should be common (and usable) to all terminal implementations.classThis class exposes methods for converting a terminal into an IOSafeTerminal.static classThis class exposes methods for converting an extended terminal into an IOSafeExtendedTerminal.Methods in com.googlecode.lanterna.terminal that return TerminalModifier and TypeMethodDescriptionDefaultTerminalFactory.createHeadlessTerminal()Instantiates a Terminal according to the factory implementation with the exception thatDefaultTerminalFactory.preferTerminalEmulatoris always ignored.DefaultTerminalFactory.createTerminal()TerminalFactory.createTerminal()Instantiates a Terminal according to the factory implementation.DefaultTerminalFactory.createTerminalEmulator()Creates a new terminal emulator window which will be either Swing-based or AWT-based depending on what is available on the systemMethods in com.googlecode.lanterna.terminal with parameters of type TerminalModifier and TypeMethodDescriptionstatic IOSafeTerminalIOSafeTerminalAdapter.createDoNothingOnExceptionAdapter(Terminal terminal) Creates a wrapper around a Terminal that exposes it as a IOSafeTerminal.static IOSafeTerminalIOSafeTerminalAdapter.createRuntimeExceptionConvertingAdapter(Terminal terminal) Creates a wrapper around a Terminal that exposes it as a IOSafeTerminal.voidSimpleTerminalResizeListener.onResized(Terminal terminal, TerminalSize newSize) voidTerminalResizeListener.onResized(Terminal terminal, TerminalSize newSize) The terminal has changed its size, most likely because the user has resized the window.Constructors in com.googlecode.lanterna.terminal with parameters of type TerminalModifierConstructorDescriptionIOSafeTerminalAdapter(Terminal backend, com.googlecode.lanterna.terminal.IOSafeTerminalAdapter.ExceptionHandler exceptionHandler) -
Uses of Terminal in com.googlecode.lanterna.terminal.ansi
Classes in com.googlecode.lanterna.terminal.ansi that implement TerminalModifier and TypeClassDescriptionclassClass containing graphics code for ANSI compliant text terminals and terminal emulators.classThis class extends UnixLikeTerminal and implements the Cygwin-specific implementations.classAn abstract terminal implementing functionality for terminals using OutputStream/InputStream.classThis class is used by theTelnetTerminalServerclass when a client has connected in; this class will be the interaction point for that client.classBase class for all terminals that generally behave like Unix terminals.classUnixLikeTerminal extends from ANSITerminal and defines functionality that is common toUnixTerminalandCygwinTerminal, 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.classThis class extends UnixLikeTerminal and implements the Unix-specific parts. -
Uses of Terminal in com.googlecode.lanterna.terminal.swing
Classes in com.googlecode.lanterna.terminal.swing that implement TerminalModifier and TypeClassDescriptionclassThis class provides an AWT implementation of the Terminal interface that is an embeddable component you can put into an AWT container.classThis class is similar to what SwingTerminal used to be before Lanterna 3.0; a Frame that contains a terminal emulator.classThis is a AWT Container that carries anAWTTerminalwith a scrollbar, effectively implementing a pseudo-terminal with scrollback history.classThis is a Swing JComponent that carries aSwingTerminalwith a scrollbar, effectively implementing a pseudo-terminal with scrollback history.classThis class provides an Swing implementation of theTerminalinterface that is an embeddable component you can put into a Swing container.classThis class is similar to what SwingTerminal used to be before Lanterna 3.0; a JFrame that contains a terminal emulator. -
Uses of Terminal in com.googlecode.lanterna.terminal.virtual
Subinterfaces of Terminal in com.googlecode.lanterna.terminal.virtualModifier and TypeInterfaceDescriptioninterfaceA virtual terminal is a kind of terminal emulator implemented inside of Lanterna that exposes the Terminal interface and maintains its state completely internally.Classes in com.googlecode.lanterna.terminal.virtual that implement Terminal