IT. Expert System.

Android Reference

ExtractEditText


android.inputmethodservice

Class ExtractEditText

    • Method Detail

      • startInternalChanges

        public void startInternalChanges()
        Start making changes that will not be reported to the client. That is, onSelectionChanged(int, int) will not result in sending the new selection to the client
      • finishInternalChanges

        public void finishInternalChanges()
        Finish making changes that will not be reported to the client. That is, onSelectionChanged(int, int) will not result in sending the new selection to the client
      • setExtractedText

        public void setExtractedText(ExtractedText text)
        Implement just to keep track of when we are setting text from the client (vs. seeing changes in ourself from the user).
        Overrides:
        setExtractedText in class TextView
      • onSelectionChanged

        protected void onSelectionChanged(int selStart,
                              int selEnd)
        Report to the underlying text editor about selection changes.
        Overrides:
        onSelectionChanged in class TextView
        Parameters:
        selStart - The new selection start location.
        selEnd - The new selection end location.
      • performClick

        public boolean performClick()
        Redirect clicks to the IME for handling there. First allows any on click handler to run, though.
        Overrides:
        performClick in class View
        Returns:
        True there was an assigned OnClickListener that was called, false otherwise is returned.
      • onTextContextMenuItem

        public boolean onTextContextMenuItem(int id)
        Description copied from class: TextView
        Called when a context menu option for the text view is selected. Currently this will be one of android.R.id#selectAll, android.R.id#cut, android.R.id#copy or android.R.id#paste.
        Overrides:
        onTextContextMenuItem in class TextView
        Returns:
        true if the context menu item action was performed.
      • isInputMethodTarget

        public boolean isInputMethodTarget()
        We are always considered to be an input method target.
        Overrides:
        isInputMethodTarget in class TextView
      • hasVerticalScrollBar

        public boolean hasVerticalScrollBar()
        Return true if the edit text is currently showing a scroll bar.
      • hasWindowFocus

        public boolean hasWindowFocus()
        Pretend like the window this view is in always has focus, so its highlight and cursor will be displayed.
        Overrides:
        hasWindowFocus in class View
        Returns:
        True if this view is in a window that currently has window focus.
      • isFocused

        public boolean isFocused()
        Pretend like this view always has focus, so its highlight and cursor will be displayed.
        Overrides:
        isFocused in class View
        Returns:
        True if this view has focus, false otherwise.
      • hasFocus

        public boolean hasFocus()
        Pretend like this view always has focus, so its highlight and cursor will be displayed.
        Overrides:
        hasFocus in class View
        Returns:
        True if this view has or contains focus, false otherwise.
      • deleteText_internal

        protected void deleteText_internal(int start,
                               int end)
        Deletes the range of text [start, end[.
        Overrides:
        deleteText_internal in class TextView
      • replaceText_internal

        protected void replaceText_internal(int start,
                                int end,
                                CharSequence text)
        Replaces the range of text [start, end[ by replacement text
        Overrides:
        replaceText_internal in class TextView
      • setSpan_internal

        protected void setSpan_internal(Object span,
                            int start,
                            int end,
                            int flags)
        Sets a span on the specified range of text
        Overrides:
        setSpan_internal in class TextView
      • setCursorPosition_internal

        protected void setCursorPosition_internal(int start,
                                      int end)
        Moves the cursor to the specified offset position in text
        Overrides:
        setCursorPosition_internal in class TextView


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 154 / 96389519. Delta: 0.04422 с