Class SimpleStateObject

    • Field Detail

      • TEXT_PROPERTY

        public static final java.lang.String TEXT_PROPERTY
        Notifies the text property has changed.
        See Also:
        Constant Field Values
    • Method Detail

      • getText

        public java.lang.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​(java.lang.String text)
        Sets the text held by this state object.
        Parameters:
        text - This model's text value