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 Type
    Method
    Description
    void
    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

      void consume(int x, int y, TextStyle style, CharBuffer characters, int startRow)
      Parameters:
      x - indicates starting column of the characters
      y - indicates row of the characters
      style - style of characters
      characters - text characters
      startRow - number of the first row. It can be different for different buffers, e.g. backBuffer starts from 0, textBuffer and scrollBuffer from -count
    • consumeNul

      void consumeNul(int x, int y, int nulIndex, TextStyle style, CharBuffer characters, int startRow)
    • consumeQueue

      void consumeQueue(int x, int y, int nulIndex, int startRow)