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 Detail

      • 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.