Module com.googlecode.lanterna
Interface VirtualTerminal.BufferWalker
-
- Enclosing interface:
- VirtualTerminal
public static interface VirtualTerminal.BufferWalker
Callback interface that is used byVirtualTerminal.forEachLine(int, int, BufferWalker)
as a way to iterate over a range of lines in the text buffer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onLine(int rowNumber, VirtualTerminal.BufferLine bufferLine)
Invoked separately on each line inside the specified range when callingVirtualTerminal.forEachLine(int, int, BufferWalker)
-
-
-
Method Detail
-
onLine
void onLine(int rowNumber, VirtualTerminal.BufferLine bufferLine)
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
-
-