Class StyledTextConsumerAdapter
java.lang.Object
org.springframework.shell.test.jediterm.terminal.StyledTextConsumerAdapter
- All Implemented Interfaces:
StyledTextConsumer
-
Constructor Summary
-
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)
-
Constructor Details
-
StyledTextConsumerAdapter
public StyledTextConsumerAdapter()
-
-
Method Details
-
consume
- Specified by:
consume
in interfaceStyledTextConsumer
- 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
public void consumeNul(int x, int y, int nulIndex, TextStyle style, CharBuffer characters, int startRow) - Specified by:
consumeNul
in interfaceStyledTextConsumer
-
consumeQueue
public void consumeQueue(int x, int y, int nulIndex, int startRow) - Specified by:
consumeQueue
in interfaceStyledTextConsumer
-