Example usage for Java android.text Spannable fields, constructors, methods, implement or subclass
The text is from its open source code.
char | charAt(int index) Returns the char value at the specified index. |
int | getSpanEnd(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 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. |
int | getSpanStart(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. |
int | length() Returns the length of this character sequence. |
void | removeSpan(Object what) Remove the specified object from the range of text to which it was attached, if any. |
void | setSpan(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. |
CharSequence | subSequence(int start, int end) Returns a CharSequence that is a subsequence of this sequence. |
String | toString() Returns a string containing the characters in this sequence in the same order as this sequence. |