Class SimpleStateObject

    • Method Detail

      • getText

        public String getText()
        Returns the text held by this state object.
        Returns:
        This model's text value
      • hasText

        public boolean hasText()
        Determines whether this state object is holding a non-empty string.
        Returns:
        true if the text is non-empty; false otherwise
      • setText

        public void setText​(String text)
        Sets the text held by this state object.
        Parameters:
        text - This model's text value