Interface TextInputListener

    • Method Detail

      • textSizeChanged

        default void textSizeChanged​(TextInput textInput,
                                     int previousTextSize)
        Called when a text input's text size has changed.
        Parameters:
        textInput - The source of this event.
        previousTextSize - The previous text size for the control
      • maximumLengthChanged

        default void maximumLengthChanged​(TextInput textInput,
                                          int previousMaximumLength)
        Called when a text input's maximum length has changed.
        Parameters:
        textInput - The source of this event.
        previousMaximumLength - The previous maximum text length.
      • passwordChanged

        default void passwordChanged​(TextInput textInput)
        Called when a text input's password flag has changed.
        Parameters:
        textInput - The source of this event.
      • promptChanged

        default void promptChanged​(TextInput textInput,
                                   java.lang.String previousPrompt)
        Called when a text input's prompt has changed.
        Parameters:
        textInput - The source of this event.
        previousPrompt - The previous prompt string.
      • textValidatorChanged

        default void textValidatorChanged​(TextInput textInput,
                                          Validator previousValidator)
        Called when the validator changes.
        Parameters:
        textInput - The source of this event.
        previousValidator - The previous validator for the text.
      • strictValidationChanged

        default void strictValidationChanged​(TextInput textInput)
        Called when a text input's strict validation flag has changed.
        Parameters:
        textInput - The text input that has changed.
      • textValidChanged

        default void textValidChanged​(TextInput textInput)
        Called when the text changes validity.
        Parameters:
        textInput - The text input that has been changed.
      • editableChanged

        default void editableChanged​(TextInput textInput)
        Called when the editable state has changed.
        Parameters:
        textInput - The text input whose state has changed.