IT. Expert System.

Android Reference

ExtractedText


android.view.inputmethod

Class ExtractedText

  • All Implemented Interfaces:
    Parcelable


    public class ExtractedText
    extends Object
    implements Parcelable
    Information about text that has been extracted for use by an input method.
    • Field Detail

      • text

        public CharSequence text
        The text that has been extracted.
      • startOffset

        public int startOffset
        The offset in the overall text at which the extracted text starts.
      • partialStartOffset

        public int partialStartOffset
        If the content is a report of a partial text change, this is the offset where the change starts and it runs until partialEndOffset. If the content is the full text, this field is -1.
      • partialEndOffset

        public int partialEndOffset
        If the content is a report of a partial text change, this is the offset where the change ends. Note that the actual text may be larger or smaller than the difference between this and partialStartOffset, meaning a reduction or increase, respectively, in the total text.
      • selectionStart

        public int selectionStart
        The offset where the selection currently starts within the extracted text. The real selection start position is at startOffset+selectionStart.
      • selectionEnd

        public int selectionEnd
        The offset where the selection currently ends within the extracted text. The real selection end position is at startOffset+selectionEnd.
      • FLAG_SINGLE_LINE

        public static final int FLAG_SINGLE_LINE
        Bit for flags: set if the text being edited can only be on a single line.
        See Also:
        Constant Field Values
      • FLAG_SELECTING

        public static final int FLAG_SELECTING
        Bit for flags: set if the editor is currently in selection mode.
        See Also:
        Constant Field Values
      • flags

        public int flags
        Additional bit flags of information about the edited text.
    • Constructor Detail

      • ExtractedText

        public ExtractedText()
    • Method Detail

      • writeToParcel

        public void writeToParcel(Parcel dest,
                         int flags)
        Used to package this object into a Parcel.
        Specified by:
        writeToParcel in interface Parcelable
        Parameters:
        dest - The Parcel to be written.
        flags - The flags used for parceling.
      • describeContents

        public int describeContents()
        Description copied from interface: Parcelable
        Describe the kinds of special objects contained in this Parcelable's marshalled representation.
        Specified by:
        describeContents in interface Parcelable
        Returns:
        a bitmask indicating the set of special object types marshalled by the Parcelable.


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: 98 / 96389463. Delta: 0.02349 с