Interface HasText

All Known Subinterfaces:
WithTextMixin<SELF>
All Known Implementing Classes:
IndexedButton, SimpleButtonState

public interface HasText
Marker interface for objects that have a String property called text. It is up to the implementation to define what this means.
Since:
2021-08-31
Author:
miki
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns current text of this object.
    void
    Sets text of this object.
  • Method Details

    • setText

      void setText(String text)
      Sets text of this object.
      Parameters:
      text - Text to set.
    • getText

      String getText()
      Returns current text of this object.
      Returns:
      Current text.