com.mindbright.terminal
Interface CompatTerminal
- All Known Implementing Classes:
- TerminalVT100Style
public interface CompatTerminal
This is a interface that contains the methods from the old Terminal
interface that a TerminalInterpreter might need.
Method Summary |
void |
clearAbove()
|
void |
clearAllAttributes()
|
void |
clearAllTabs()
|
void |
clearBelow()
|
void |
clearLeft()
|
void |
clearLine()
|
void |
clearRight()
|
void |
clearScreen()
|
void |
clearTab(int col)
|
int |
cols()
|
void |
cursorBackward(int n)
|
void |
cursorDown(int n)
|
void |
cursorForward(int n)
|
void |
cursorIndex(int n)
|
void |
cursorIndexRev(int n)
|
void |
cursorRestore()
|
void |
cursorSave()
|
void |
cursorSetPos(int v,
int h,
boolean relative)
|
void |
cursorUp(int n)
|
void |
deleteChars(int n)
|
void |
deleteLines(int n)
|
void |
doBackTabs(int n)
|
void |
doBell()
|
void |
doBS()
|
void |
doCR()
|
void |
doLF()
|
void |
doTab()
|
void |
doTabs(int n)
|
void |
eraseChars(int n)
|
void |
fillScreen(char c)
|
boolean |
getAttribute(int attr)
|
int |
getCursorH()
|
int |
getCursorV()
|
boolean |
getOption(int opt)
|
int |
getWindowBottom()
|
int |
getWindowLeft()
|
int |
getWindowRight()
|
int |
getWindowTop()
|
void |
insertChars(int n)
|
void |
insertLines(int n)
|
void |
printScreen()
|
void |
resetInterpreter()
|
void |
resetTabs()
|
void |
resetWindow()
|
int |
rows()
|
void |
screenRestore()
|
void |
screenSave()
|
void |
scrollDown(int n)
|
void |
scrollUp(int n)
|
void |
sendBytes(byte[] b)
|
void |
setAttribute(int attr,
boolean val)
|
void |
setBackgroundColor(int c)
|
void |
setForegroundColor(int c)
|
void |
setOption(int opt,
boolean val)
|
void |
setTab(int col)
|
void |
setTitle(java.lang.String title)
|
void |
setWindow(int top,
int bottom)
|
void |
setWindow(int top,
int right,
int bottom,
int left)
|
void |
startPrinter()
|
void |
stopPrinter()
|
void |
typedChar(char c)
|
void |
write(char c)
|
void |
write(char[] c,
int off,
int len)
|
void |
write(java.lang.String str)
|
void |
writeLineDrawChar(char c)
|
ATTR_BOLD
static final int ATTR_BOLD
- See Also:
- Constant Field Values
ATTR_LOWINTENSITY
static final int ATTR_LOWINTENSITY
- See Also:
- Constant Field Values
ATTR_UNDERLINE
static final int ATTR_UNDERLINE
- See Also:
- Constant Field Values
ATTR_BLINKING
static final int ATTR_BLINKING
- See Also:
- Constant Field Values
ATTR_INVERSE
static final int ATTR_INVERSE
- See Also:
- Constant Field Values
ATTR_INVISIBLE
static final int ATTR_INVISIBLE
- See Also:
- Constant Field Values
ATTR_FGCOLOR
static final int ATTR_FGCOLOR
- See Also:
- Constant Field Values
ATTR_BGCOLOR
static final int ATTR_BGCOLOR
- See Also:
- Constant Field Values
OPT_REV_VIDEO
static final int OPT_REV_VIDEO
- See Also:
- Constant Field Values
OPT_AUTO_WRAP
static final int OPT_AUTO_WRAP
- See Also:
- Constant Field Values
OPT_REV_WRAP
static final int OPT_REV_WRAP
- See Also:
- Constant Field Values
OPT_INSERTMODE
static final int OPT_INSERTMODE
- See Also:
- Constant Field Values
OPT_AUTO_LF
static final int OPT_AUTO_LF
- See Also:
- Constant Field Values
OPT_SCROLL_SK
static final int OPT_SCROLL_SK
- See Also:
- Constant Field Values
OPT_SCROLL_SI
static final int OPT_SCROLL_SI
- See Also:
- Constant Field Values
OPT_VIS_CURSOR
static final int OPT_VIS_CURSOR
- See Also:
- Constant Field Values
OPT_LOCAL_ECHO
static final int OPT_LOCAL_ECHO
- See Also:
- Constant Field Values
OPT_VIS_BELL
static final int OPT_VIS_BELL
- See Also:
- Constant Field Values
OPT_MAP_CTRLSP
static final int OPT_MAP_CTRLSP
- See Also:
- Constant Field Values
OPT_DECCOLM
static final int OPT_DECCOLM
- See Also:
- Constant Field Values
OPT_DEC132COLS
static final int OPT_DEC132COLS
- See Also:
- Constant Field Values
OPT_PASSTHRU_PRN
static final int OPT_PASSTHRU_PRN
- See Also:
- Constant Field Values
OPT_LOCAL_PGKEYS
static final int OPT_LOCAL_PGKEYS
- See Also:
- Constant Field Values
OPT_COPY_CRNL
static final int OPT_COPY_CRNL
- See Also:
- Constant Field Values
OPT_ASCII_LDC
static final int OPT_ASCII_LDC
- See Also:
- Constant Field Values
OPT_COPY_SEL
static final int OPT_COPY_SEL
- See Also:
- Constant Field Values
OPT_LAST_OPT
static final int OPT_LAST_OPT
- See Also:
- Constant Field Values
setTitle
void setTitle(java.lang.String title)
rows
int rows()
cols
int cols()
fillScreen
void fillScreen(char c)
write
void write(char c)
write
void write(char[] c,
int off,
int len)
write
void write(java.lang.String str)
writeLineDrawChar
void writeLineDrawChar(char c)
typedChar
void typedChar(char c)
sendBytes
void sendBytes(byte[] b)
doBell
void doBell()
doBS
void doBS()
doTab
void doTab()
doTabs
void doTabs(int n)
doBackTabs
void doBackTabs(int n)
setTab
void setTab(int col)
clearTab
void clearTab(int col)
resetTabs
void resetTabs()
clearAllTabs
void clearAllTabs()
doCR
void doCR()
doLF
void doLF()
resetInterpreter
void resetInterpreter()
resetWindow
void resetWindow()
setWindow
void setWindow(int top,
int bottom)
setWindow
void setWindow(int top,
int right,
int bottom,
int left)
getWindowTop
int getWindowTop()
getWindowBottom
int getWindowBottom()
getWindowLeft
int getWindowLeft()
getWindowRight
int getWindowRight()
getCursorV
int getCursorV()
getCursorH
int getCursorH()
cursorSetPos
void cursorSetPos(int v,
int h,
boolean relative)
cursorUp
void cursorUp(int n)
cursorDown
void cursorDown(int n)
cursorForward
void cursorForward(int n)
cursorBackward
void cursorBackward(int n)
cursorIndex
void cursorIndex(int n)
cursorIndexRev
void cursorIndexRev(int n)
cursorSave
void cursorSave()
cursorRestore
void cursorRestore()
screenSave
void screenSave()
screenRestore
void screenRestore()
scrollUp
void scrollUp(int n)
scrollDown
void scrollDown(int n)
clearBelow
void clearBelow()
clearAbove
void clearAbove()
clearScreen
void clearScreen()
clearRight
void clearRight()
clearLeft
void clearLeft()
clearLine
void clearLine()
eraseChars
void eraseChars(int n)
insertChars
void insertChars(int n)
insertLines
void insertLines(int n)
deleteChars
void deleteChars(int n)
deleteLines
void deleteLines(int n)
printScreen
void printScreen()
startPrinter
void startPrinter()
stopPrinter
void stopPrinter()
setOption
void setOption(int opt,
boolean val)
getOption
boolean getOption(int opt)
setAttribute
void setAttribute(int attr,
boolean val)
getAttribute
boolean getAttribute(int attr)
setForegroundColor
void setForegroundColor(int c)
setBackgroundColor
void setBackgroundColor(int c)
clearAllAttributes
void clearAllAttributes()