Class ScreenBuffer
java.lang.Object
org.apache.hadoop.hbase.hbtop.terminal.impl.ScreenBuffer
Represents a buffer of the terminal screen for double-buffering.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
void
endOfLine
(int column, int row) void
flush
(PrintWriter output) private void
flushRow
(int row, StringBuilder sb, Attributes lastAttributes) void
void
putChar
(int column, int row, char ch, Attributes attributes) void
putString
(int column, int row, String string, Attributes attributes) void
reallocate
(int columns, int rows) void
setCursorPosition
(int column, int row)
-
Field Details
-
columns
-
rows
-
buffer
-
physical
-
cursorVisible
-
cursorColumn
-
cursorRow
-
-
Constructor Details
-
ScreenBuffer
public ScreenBuffer()
-
-
Method Details
-
reallocate
-
clear
-
flush
-
flushRow
-
getCursorPosition
-
setCursorPosition
-
hideCursor
-
putString
-
putChar
-
endOfLine
-