@InterfaceAudience.Private public class TerminalPrinterImpl extends Object implements TerminalPrinter
TerminalPrinter
interface.Modifier and Type | Field and Description |
---|---|
private Attributes |
attributes |
private int |
column |
private int |
row |
private ScreenBuffer |
screenBuffer |
Constructor and Description |
---|
TerminalPrinterImpl(ScreenBuffer screenBuffer,
int startRow) |
Modifier and Type | Method and Description |
---|---|
void |
endOfLine() |
TerminalPrinter |
print(String value) |
TerminalPrinter |
startBold() |
TerminalPrinter |
startHighlight() |
TerminalPrinter |
stopBold() |
TerminalPrinter |
stopHighlight() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
print, print, print, print, print, print, print, printFormat
private final ScreenBuffer screenBuffer
private int row
private int column
private final Attributes attributes
TerminalPrinterImpl(ScreenBuffer screenBuffer, int startRow)
public TerminalPrinter print(String value)
print
in interface TerminalPrinter
public TerminalPrinter startHighlight()
startHighlight
in interface TerminalPrinter
public TerminalPrinter stopHighlight()
stopHighlight
in interface TerminalPrinter
public TerminalPrinter startBold()
startBold
in interface TerminalPrinter
public TerminalPrinter stopBold()
stopBold
in interface TerminalPrinter
public void endOfLine()
endOfLine
in interface TerminalPrinter
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.