Interface TextField

    • Method Detail

      • getText

        java.lang.String getText()
        Returns the displayed text of the text field. If it is a multiline text, the lines are separated with a line break character (\n).
        Returns:
        the field's text
        Since:
        2.0.0
      • setText

        void setText​(java.lang.String text)
        Sets the given text. The text field does not lose its focus after inserting a text. You have to call loseFocus() explicitly.
        Parameters:
        text - the text to be set
        Since:
        2.0.0
      • loseFocus

        void loseFocus()
        Forces the text field to lose the focus (e.g. triggering on change events).
        Since:
        3.0.0