Class TextField

    • Field Detail

      • onTextInput

        public final Event<java.lang.String> onTextInput
    • Constructor Detail

      • TextField

        public TextField()
    • Method Detail

      • getMaxCharacters

        public int getMaxCharacters()
      • setMaxCharacters

        public TextField setMaxCharacters​(int maxCharacters)
      • isShowClearButton

        public boolean isShowClearButton()
      • setShowClearButton

        public TextField setShowClearButton​(boolean showClearButton)
      • getEmptyText

        public java.lang.String getEmptyText()
      • setEmptyText

        public TextField setEmptyText​(java.lang.String emptyText)
      • isAutofill

        public boolean isAutofill()
      • setAutofill

        public void setAutofill​(boolean autofill)
      • isEmpty

        public boolean isEmpty()
        Description copied from class: AbstractField
        Whether this field can be regarded as empty / "no user input". Override for field-specific behaviour.
        Overrides:
        isEmpty in class AbstractField<java.lang.String>
        Returns:
        true if the value can be regarded as "empty".