IT. Expert System.

Android Reference



Class SpannableString

    • Constructor Detail

      • SpannableString

        public SpannableString(CharSequence source)
    • Method Detail

      • setSpan

        public void setSpan(Object what,
                   int start,
                   int end,
                   int flags)
        Description copied from interface: Spannable
        Attach the specified markup object to the range start…end of the text, or move the object to that range if it was already attached elsewhere. See Spanned for an explanation of what the flags mean. The object can be one that has meaning only within your application, or it can be one that the text system will use to affect text display or behavior. Some noteworthy ones are the subclasses of CharacterStyle and ParagraphStyle, and TextWatcher and SpanWatcher.
        Specified by:
        setSpan in interface Spannable
      • removeSpan

        public void removeSpan(Object what)
        Description copied from interface: Spannable
        Remove the specified object from the range of text to which it was attached, if any. It is OK to remove an object that was never attached in the first place.
        Specified by:
        removeSpan in interface Spannable
      • subSequence

        public final CharSequence subSequence(int start,
                               int end)
        Description copied from interface: CharSequence
        Returns a CharSequence from the start index (inclusive) to the end index (exclusive) of this sequence.
        Specified by:
        subSequence in interface CharSequence
        start - the start offset of the sub-sequence. It is inclusive, that is, the index of the first character that is included in the sub-sequence.
        end - the end offset of the sub-sequence. It is exclusive, that is, the index of the first character after those that are included in the sub-sequence
        the requested sub-sequence.
      • length

        public final int length()
      • charAt

        public final char charAt(int i)
      • toString

        public final String toString()
        Description copied from class: Object
        Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
           getClass().getName() + '@' + Integer.toHexString(hashCode())

        See Writing a useful toString method if you intend implementing your own toString method.

        toString in class Object
        a printable representation of this object.
      • getChars

        public final void getChars(int start,
                    int end,
                    char[] dest,
                    int off)
      • getSpanStart

        public int getSpanStart(Object what)
      • getSpanEnd

        public int getSpanEnd(Object what)
      • getSpanFlags

        public int getSpanFlags(Object what)
      • getSpans

        public <T> T[] getSpans(int queryStart,
                       int queryEnd,
                       Class<T> kind)
      • nextSpanTransition

        public int nextSpanTransition(int start,
                             int limit,
                             Class kind)


Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)





Java Script








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

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: 3180 / 159435673. Delta: 0.03559 с