Interface Terminal
- All Known Implementing Classes:
JediTerminal
public interface Terminal
Executes terminal commands interpreted by
Emulator
, receives text-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
beep()
void
void
characterAttributes
(TextStyle textStyle) void
void
void
void
cursorBackward
(int dX) void
cursorDown
(int dY) void
cursorForward
(int dX) void
cursorHorizontalAbsolute
(int x) void
cursorPosition
(int x, int y) void
cursorShape
(CursorShape shape) void
cursorUp
(int countY) void
deleteCharacters
(int count) void
deleteLines
(int count) void
designateCharacterSet
(int tableNumber, char ch) void
deviceAttributes
(byte[] response) void
deviceStatusReport
(String str) void
int
void
eraseCharacters
(int count) void
eraseInDisplay
(int arg) void
eraseInLine
(int arg) void
fillScreen
(char c) int
int
int
int
void
void
index()
void
insertBlankCharacters
(int count) void
insertLines
(int count) void
linePositionAbsolute
(int y) void
mapCharsetToGL
(int num) void
mapCharsetToGR
(int num) void
newLine()
void
nextLine()
void
reset()
void
void
resize
(int width, int height, RequestOrigin origin) void
resize
(int width, int height, RequestOrigin origin, CompletableFuture<?> promptUpdated) void
void
void
void
void
void
scrollDown
(int count) void
scrollUp
(int count) void
setAltSendsEscape
(boolean enabled) void
setAnsiConformanceLevel
(int level) void
setApplicationArrowKeys
(boolean enabled) void
setApplicationKeypad
(boolean enabled) void
setAutoNewLine
(boolean enabled) void
setBlinkingCursor
(boolean enabled) void
setBracketedPasteMode
(boolean enabled) void
setCursorVisible
(boolean visible) void
setModeEnabled
(TerminalMode mode, boolean enabled) void
setScrollingRegion
(int top, int bottom) void
void
setTerminalOutput
(TerminalOutputStream terminalOutput) void
setWindowTitle
(String name) void
singleShiftSelect
(int num) void
useAlternateBuffer
(boolean enabled) void
writeCharacters
(String string) void
writeDoubleByte
(char[] bytes) void
writeUnwrappedString
(String string)
-
Method Details
-
resize
-
resize
-
beep
void beep() -
backspace
void backspace() -
horizontalTab
void horizontalTab() -
carriageReturn
void carriageReturn() -
newLine
void newLine() -
mapCharsetToGL
void mapCharsetToGL(int num) -
mapCharsetToGR
void mapCharsetToGR(int num) -
designateCharacterSet
void designateCharacterSet(int tableNumber, char ch) -
setAnsiConformanceLevel
void setAnsiConformanceLevel(int level) -
writeDoubleByte
- Throws:
UnsupportedEncodingException
-
writeCharacters
-
distanceToLineEnd
int distanceToLineEnd() -
reverseIndex
void reverseIndex() -
index
void index() -
nextLine
void nextLine() -
fillScreen
void fillScreen(char c) -
saveCursor
void saveCursor() -
restoreCursor
void restoreCursor() -
reset
void reset() -
characterAttributes
-
setScrollingRegion
void setScrollingRegion(int top, int bottom) -
scrollUp
void scrollUp(int count) -
scrollDown
void scrollDown(int count) -
resetScrollRegions
void resetScrollRegions() -
cursorHorizontalAbsolute
void cursorHorizontalAbsolute(int x) -
linePositionAbsolute
void linePositionAbsolute(int y) -
cursorPosition
void cursorPosition(int x, int y) -
cursorUp
void cursorUp(int countY) -
cursorDown
void cursorDown(int dY) -
cursorForward
void cursorForward(int dX) -
cursorBackward
void cursorBackward(int dX) -
cursorShape
-
eraseInLine
void eraseInLine(int arg) -
deleteCharacters
void deleteCharacters(int count) -
getTerminalWidth
int getTerminalWidth() -
getTerminalHeight
int getTerminalHeight() -
eraseInDisplay
void eraseInDisplay(int arg) -
setModeEnabled
-
disconnected
void disconnected() -
getCursorX
int getCursorX() -
getCursorY
int getCursorY() -
singleShiftSelect
void singleShiftSelect(int num) -
setWindowTitle
-
saveWindowTitleOnStack
void saveWindowTitleOnStack() -
restoreWindowTitleFromStack
void restoreWindowTitleFromStack() -
clearScreen
void clearScreen() -
setCursorVisible
void setCursorVisible(boolean visible) -
useAlternateBuffer
void useAlternateBuffer(boolean enabled) -
setApplicationArrowKeys
void setApplicationArrowKeys(boolean enabled) -
setApplicationKeypad
void setApplicationKeypad(boolean enabled) -
setAutoNewLine
void setAutoNewLine(boolean enabled) -
getStyleState
StyleState getStyleState() -
insertLines
void insertLines(int count) -
deleteLines
void deleteLines(int count) -
setBlinkingCursor
void setBlinkingCursor(boolean enabled) -
eraseCharacters
void eraseCharacters(int count) -
insertBlankCharacters
void insertBlankCharacters(int count) -
clearTabStopAtCursor
void clearTabStopAtCursor() -
clearAllTabStops
void clearAllTabStops() -
setTabStopAtCursor
void setTabStopAtCursor() -
writeUnwrappedString
-
setTerminalOutput
-
setAltSendsEscape
void setAltSendsEscape(boolean enabled) -
deviceStatusReport
-
deviceAttributes
void deviceAttributes(byte[] response) -
setBracketedPasteMode
void setBracketedPasteMode(boolean enabled)
-