Java android.text Spannable fields, constructors, methods, implement or subclass

Example usage for Java android.text Spannable fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.text Spannable.

The text is from its open source code.

Method

charcharAt(int index)
Returns the char value at the specified index.
intgetSpanEnd(Object tag)
Return the end of the range of text to which the specified markup object is attached, or -1 if the object is not attached.
T[]getSpans(int start, int end, Class type)
Return an array of the markup objects attached to the specified slice of this CharSequence and whose type is the specified type or a subclass of it.
intgetSpanStart(Object tag)
Return the beginning of the range of text to which the specified markup object is attached, or -1 if the object is not attached.
intlength()
Returns the length of this character sequence.
voidremoveSpan(Object what)
Remove the specified object from the range of text to which it was attached, if any.
voidsetSpan(Object what, int start, int end, int flags)
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.
CharSequencesubSequence(int start, int end)
Returns a CharSequence that is a subsequence of this sequence.
StringtoString()
Returns a string containing the characters in this sequence in the same order as this sequence.