Interface StyledTextConsumer
- All Known Implementing Classes:
StyledTextConsumerAdapter
public interface StyledTextConsumer
General interface that obtains styled range of characters at coordinates (x, y) when the screen starts at startRow
-
Method Summary
Modifier and TypeMethodDescriptionvoid
consume
(int x, int y, TextStyle style, CharBuffer characters, int startRow) void
consumeNul
(int x, int y, int nulIndex, TextStyle style, CharBuffer characters, int startRow) void
consumeQueue
(int x, int y, int nulIndex, int startRow)
-
Method Details
-
consume
- Parameters:
x
- indicates starting column of the charactersy
- indicates row of the charactersstyle
- style of characterscharacters
- text charactersstartRow
- number of the first row. It can be different for different buffers, e.g. backBuffer starts from 0, textBuffer and scrollBuffer from -count
-
consumeNul
-
consumeQueue
void consumeQueue(int x, int y, int nulIndex, int startRow)
-