Package JSSHTerminal
Class TerminalEmulator
java.lang.Object
JSSHTerminal.TerminalEmulator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
autoSelect
(int offset) void
void
csi_a
(int[] args) void
csi_A
(int[] i) void
csi_B
(int[] i) void
csi_c
(int[] args) void
csi_C
(int[] i) void
csi_d
(int[] args) void
csi_D
(int[] i) void
csi_e
(int[] args) void
csi_E
(int[] i) void
csi_f
(int[] args) void
csi_F
(int[] i) void
csi_G
(int[] i) void
csi_h
(int[] args) void
csi_H
(int[] i) void
csi_J
(int[] i) void
csi_K
(int... i) void
csi_l
(int[] args) void
csi_L
(int[] args) void
csi_m
(int[] args) void
csi_M
(int[] args) void
csi_P
(int[] args) void
csi_r
(int[] args) void
csi_s
(int[] args) void
csi_S
(int[] args) void
csi_T
(int[] args) void
csi_u
(int[] args) void
csi_X
(int[] args) void
void
dump()
void
echo
(char c) void
esc_0x08()
void
esc_0x09()
void
esc_0x0d()
void
escape()
void
escRi()
int
getCharAt
(int offset) static byte[]
static byte[]
static byte[]
static byte[]
static byte[]
static byte[]
static byte[]
static byte[]
static byte[]
static byte[]
static byte[]
static byte[]
static byte[]
static byte[]
static byte[]
static byte[]
static byte[]
static byte[]
static byte[]
static byte[]
static byte[]
static byte[]
int
int[]
getScreen
(int scrollPos) int
int
getTitle()
boolean
isCursor
(int x, int y) boolean
void
noOp()
void
read()
Return terminal response (if any)void
reset()
void
resize
(int nWidth, int nHeight) void
void
void
void
void
void
void
void
void
void
void
void
void
setSelection
(int start, int end) void
write
(char[] s, int length) Receives the output from the shell into the terminal.
-
Constructor Details
-
TerminalEmulator
public TerminalEmulator(int width, int height, int scroll)
-
-
Method Details
-
isCursor
public boolean isCursor(int x, int y) -
getTitle
-
resize
public void resize(int nWidth, int nHeight) -
setSelection
public void setSelection(int start, int end) -
clearSelection
public void clearSelection() -
getStartSelection
public int getStartSelection() -
getEndSelection
public int getEndSelection() -
autoSelect
public void autoSelect(int offset) -
getSelectedText
-
isMouseEnabled
public boolean isMouseEnabled() -
getScreen
public int[] getScreen(int scrollPos) -
getScrollSize
public int getScrollSize() -
getCharAt
public int getCharAt(int offset) -
reset
public void reset() -
cursorDown
public void cursorDown() -
cursorRight
public void cursorRight() -
echo
public void echo(char c) -
escape
public void escape() -
read
Return terminal response (if any) -
write
public void write(char[] s, int length) Receives the output from the shell into the terminal.- Parameters:
s
-
-
dump
-
noOp
public void noOp() -
esc_0x08
public void esc_0x08() -
esc_0x09
public void esc_0x09() -
esc_0x0d
public void esc_0x0d() -
selectCharSetPA
public void selectCharSetPA() -
selectCharSetAA
public void selectCharSetAA() -
selectCharSetPB
public void selectCharSetPB() -
selectCharSetAB
public void selectCharSetAB() -
selectCharSetP0
public void selectCharSetP0() -
selectCharSetA0
public void selectCharSetA0() -
selectCharSetP1
public void selectCharSetP1() -
selectCharSetA1
public void selectCharSetA1() -
selectCharSetP2
public void selectCharSetP2() -
selectCharSetA2
public void selectCharSetA2() -
saveCursor
public void saveCursor() -
restoreCursor
public void restoreCursor() -
escRi
public void escRi() -
csi_A
public void csi_A(int[] i) -
csi_B
public void csi_B(int[] i) -
csi_C
public void csi_C(int[] i) -
csi_D
public void csi_D(int[] i) -
csi_E
public void csi_E(int[] i) -
csi_F
public void csi_F(int[] i) -
csi_G
public void csi_G(int[] i) -
csi_H
public void csi_H(int[] i) -
csi_J
public void csi_J(int[] i) -
csi_K
public void csi_K(int... i) -
csi_L
public void csi_L(int[] args) -
csi_M
public void csi_M(int[] args) -
csi_P
public void csi_P(int[] args) -
csi_S
public void csi_S(int[] args) -
csi_T
public void csi_T(int[] args) -
csi_X
public void csi_X(int[] args) -
csi_a
public void csi_a(int[] args) -
csi_c
public void csi_c(int[] args) -
csi_d
public void csi_d(int[] args) -
csi_e
public void csi_e(int[] args) -
csi_f
public void csi_f(int[] args) -
csi_h
public void csi_h(int[] args) -
csi_l
public void csi_l(int[] args) -
csi_m
public void csi_m(int[] args) -
csi_r
public void csi_r(int[] args) -
csi_s
public void csi_s(int[] args) -
csi_u
public void csi_u(int[] args) -
osc
-
getCodeENTER
public static byte[] getCodeENTER() -
getCodeUP
public static byte[] getCodeUP() -
getCodeDOWN
public static byte[] getCodeDOWN() -
getCodeRIGHT
public static byte[] getCodeRIGHT() -
getCodeDELETE
public static byte[] getCodeDELETE() -
getCodeScrollUp
public static byte[] getCodeScrollUp() -
getCodeScrollDown
public static byte[] getCodeScrollDown() -
getCodeHome
public static byte[] getCodeHome() -
getCodeEnd
public static byte[] getCodeEnd() -
getCodeLEFT
public static byte[] getCodeLEFT() -
getCodeF1
public static byte[] getCodeF1() -
getCodeF2
public static byte[] getCodeF2() -
getCodeF3
public static byte[] getCodeF3() -
getCodeF4
public static byte[] getCodeF4() -
getCodeF5
public static byte[] getCodeF5() -
getCodeF6
public static byte[] getCodeF6() -
getCodeF7
public static byte[] getCodeF7() -
getCodeF8
public static byte[] getCodeF8() -
getCodeF9
public static byte[] getCodeF9() -
getCodeF10
public static byte[] getCodeF10() -
getCodeF11
public static byte[] getCodeF11() -
getCodeF12
public static byte[] getCodeF12()
-