Module com.googlecode.lanterna
Interface VirtualTerminal.BufferWalker
- Enclosing interface:
VirtualTerminal
public static interface VirtualTerminal.BufferWalker
Callback interface that is used by
VirtualTerminal.forEachLine(int, int, BufferWalker)
as a way to iterate over a range
of lines in the text buffer-
Method Summary
Modifier and TypeMethodDescriptionvoid
onLine
(int rowNumber, VirtualTerminal.BufferLine bufferLine) Invoked separately on each line inside the specified range when callingVirtualTerminal.forEachLine(int, int, BufferWalker)
-
Method Details
-
onLine
Invoked separately on each line inside the specified range when callingVirtualTerminal.forEachLine(int, int, BufferWalker)
- Parameters:
rowNumber
- The row number of this invocation, where 0 means the first line of the backlogbufferLine
- Object the repressents the line and its content on this row
-