Interface IDrawable

All Known Implementing Classes:
Widget, WidgetButton, WidgetLabel, WidgetPageSelection, WidgetPasswordBox, WidgetTextBox, WidgetToggle

public interface IDrawable
Interface for drawable widgets.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    draw(char[][] buffer, com.googlecode.lanterna.TextColor[][] printColor, com.googlecode.lanterna.TextColor[][] backColor)
    Draw the widget to the buffer.
    void
    drawText(char[][] buffer)
    Draw the widget to the buffer.
  • Method Details

    • drawText

      void drawText(char[][] buffer)
      Draw the widget to the buffer.
      Parameters:
      buffer - The buffer to draw to.
    • draw

      void draw(char[][] buffer, com.googlecode.lanterna.TextColor[][] printColor, com.googlecode.lanterna.TextColor[][] backColor)
      Draw the widget to the buffer.
      Parameters:
      buffer - The buffer to draw to.
      printColor - The color to print the text in.
      backColor - The color to print the background in.