Class TextInputListener.Adapter

  • All Implemented Interfaces:
    TextInputListener
    Enclosing interface:
    TextInputListener

    @Deprecated
    public static class TextInputListener.Adapter
    extends java.lang.Object
    implements TextInputListener
    Deprecated.
    Since 2.1 and Java 8 the interface itself has default implementations.
    Text input listener adapter.
    • Constructor Detail

      • Adapter

        public Adapter()
        Deprecated.
    • Method Detail

      • textSizeChanged

        public void textSizeChanged​(TextInput textInput,
                                    int previousTextSize)
        Deprecated.
        Description copied from interface: TextInputListener
        Called when a text input's text size has changed.
        Specified by:
        textSizeChanged in interface TextInputListener
        Parameters:
        textInput - The source of this event.
        previousTextSize - The previous text size for the control
      • maximumLengthChanged

        public void maximumLengthChanged​(TextInput textInput,
                                         int previousMaximumLength)
        Deprecated.
        Description copied from interface: TextInputListener
        Called when a text input's maximum length has changed.
        Specified by:
        maximumLengthChanged in interface TextInputListener
        Parameters:
        textInput - The source of this event.
        previousMaximumLength - The previous maximum text length.
      • passwordChanged

        public void passwordChanged​(TextInput textInput)
        Deprecated.
        Description copied from interface: TextInputListener
        Called when a text input's password flag has changed.
        Specified by:
        passwordChanged in interface TextInputListener
        Parameters:
        textInput - The source of this event.
      • promptChanged

        public void promptChanged​(TextInput textInput,
                                  java.lang.String previousPrompt)
        Deprecated.
        Description copied from interface: TextInputListener
        Called when a text input's prompt has changed.
        Specified by:
        promptChanged in interface TextInputListener
        Parameters:
        textInput - The source of this event.
        previousPrompt - The previous prompt string.
      • textValidatorChanged

        public void textValidatorChanged​(TextInput textInput,
                                         Validator previousValidator)
        Deprecated.
        Description copied from interface: TextInputListener
        Called when the validator changes.
        Specified by:
        textValidatorChanged in interface TextInputListener
        Parameters:
        textInput - The source of this event.
        previousValidator - The previous validator for the text.
      • strictValidationChanged

        public void strictValidationChanged​(TextInput textInput)
        Deprecated.
        Description copied from interface: TextInputListener
        Called when a text input's strict validation flag has changed.
        Specified by:
        strictValidationChanged in interface TextInputListener
        Parameters:
        textInput - The text input that has changed.
      • textValidChanged

        public void textValidChanged​(TextInput textInput)
        Deprecated.
        Description copied from interface: TextInputListener
        Called when the text changes validity.
        Specified by:
        textValidChanged in interface TextInputListener
        Parameters:
        textInput - The text input that has been changed.
      • editableChanged

        public void editableChanged​(TextInput textInput)
        Deprecated.
        Description copied from interface: TextInputListener
        Called when the editable state has changed.
        Specified by:
        editableChanged in interface TextInputListener
        Parameters:
        textInput - The text input whose state has changed.