Interface ISelectable

All Known Implementing Classes:
WidgetButton, WidgetPasswordBox, WidgetTextBox, WidgetToggle

public interface ISelectable
Interface for selectable widgets.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    drawSelection(char[][] buffer, com.googlecode.lanterna.TextColor[][] printColor, com.googlecode.lanterna.TextColor[][] backColor)
    Draws the selection on the buffer.
    void
    Selects the widget.
    void
    Unselects the widget.
  • Method Details

    • drawSelection

      void drawSelection(char[][] buffer, com.googlecode.lanterna.TextColor[][] printColor, com.googlecode.lanterna.TextColor[][] backColor)
      Draws the selection on the buffer.
      Parameters:
      buffer - The buffer to draw on.
      printColor - The color of the text.
      backColor - The color of the background.
    • select

      void select()
      Selects the widget.
    • unselect

      void unselect()
      Unselects the widget.