public interface ExtendedTerminal extends Terminal, Scrollable
Modifier and Type | Method and Description |
---|---|
void |
deiconify()
De-iconifies the terminal, which likely means restoring it from minimized state with most window managers
|
void |
iconify()
Iconifies the terminal, this likely means minimizing the window with most window managers
|
void |
maximize()
Maximizes the terminal, so that it takes up all available space
|
void |
popTitle()
Replaces the terminal title with the top element from the title stack managed by the terminal (the element is
removed from the stack as expected)
|
void |
pushTitle()
Saves the current window title on a stack managed internally by the terminal.
|
void |
setMouseCaptureMode(MouseCaptureMode mouseCaptureMode)
Enabled or disables capturing of mouse event.
|
void |
setTerminalSize(int columns,
int rows)
Attempts to resize the terminal through dtterm extensions "CSI 8 ; rows ; columns ; t".
|
void |
setTitle(String title)
This methods sets the title of the terminal, which is normally only visible if you are running the application
in a terminal emulator in a graphical environment.
|
void |
unmaximize()
Restores the terminal back to its previous size, after having been maximized
|
addResizeListener, clearScreen, disableSGR, enableSGR, enquireTerminal, enterPrivateMode, exitPrivateMode, flush, getTerminalSize, newTextGraphics, putCharacter, removeResizeListener, resetColorAndSGR, setBackgroundColor, setCursorPosition, setCursorVisible, setForegroundColor
pollInput, readInput
scrollLines
void setTerminalSize(int columns, int rows) throws IOException
IOException
- If the was an underlying I/O errorvoid setTitle(String title) throws IOException
title
- Title to set on the terminalIOException
- If the was an underlying I/O errorvoid pushTitle() throws IOException
IOException
- If the was an underlying I/O errorvoid popTitle() throws IOException
IOException
- If the was an underlying I/O errorvoid iconify() throws IOException
IOException
- If the was an underlying I/O errorvoid deiconify() throws IOException
IOException
- If the was an underlying I/O errorvoid maximize() throws IOException
IOException
- If the was an underlying I/O errorvoid unmaximize() throws IOException
IOException
- If the was an underlying I/O errorvoid setMouseCaptureMode(MouseCaptureMode mouseCaptureMode) throws IOException
mouseCaptureMode
- Which mouse events to capture, pass in null
to disable mouse input capturingIOException
- If the was an underlying I/O errorCopyright © 2016. All rights reserved.