Class TextInputContentListener.Adapter

    • Constructor Detail

      • Adapter

        public Adapter()
        Deprecated.
    • Method Detail

      • previewInsertText

        public Vote previewInsertText​(TextInput textInput,
                                      java.lang.CharSequence text,
                                      int index)
        Deprecated.
        Description copied from interface: TextInputContentListener
        Called to preview a text insertion.
        Specified by:
        previewInsertText in interface TextInputContentListener
        Parameters:
        textInput - The source of the event.
        text - The text that will be inserted.
        index - The index at which the text will be inserted.
        Returns:
        The accumulated vote as to whether to allow this insertion.
      • textInserted

        public void textInserted​(TextInput textInput,
                                 int index,
                                 int count)
        Deprecated.
        Description copied from interface: TextInputContentListener
        Called when text has been inserted into a text input.
        Specified by:
        textInserted in interface TextInputContentListener
        Parameters:
        textInput - The source of the event.
        index - The index at which the text was inserted.
        count - The number of characters that were inserted.
      • previewRemoveText

        public Vote previewRemoveText​(TextInput textInput,
                                      int index,
                                      int count)
        Deprecated.
        Description copied from interface: TextInputContentListener
        Called to preview a text removal.
        Specified by:
        previewRemoveText in interface TextInputContentListener
        Parameters:
        textInput - The source of the event.
        index - The starting index from which the text will be removed.
        count - The count of characters to be removed starting from that index.
        Returns:
        The accumulated vote as to whether to allow this removal.
      • textRemoved

        public void textRemoved​(TextInput textInput,
                                int index,
                                int count)
        Deprecated.
        Description copied from interface: TextInputContentListener
        Called when text has been removed from a text input.
        Specified by:
        textRemoved in interface TextInputContentListener
        Parameters:
        textInput - The source of the event.
        index - The index from which the text was removed.
        count - The number of characters that were removed.