android.text
Class SpannedString
java.lang.Object
android.text.SpannedString
- All Implemented Interfaces:
- GetChars, Spanned, CharSequence
public final class SpannedString
- extends Object
- implements CharSequence, GetChars, Spanned
Fields inherited from interface android.text.Spanned |
SPAN_COMPOSING, SPAN_EXCLUSIVE_EXCLUSIVE, SPAN_EXCLUSIVE_INCLUSIVE, SPAN_INCLUSIVE_EXCLUSIVE, SPAN_INCLUSIVE_INCLUSIVE, SPAN_INTERMEDIATE, SPAN_MARK_MARK, SPAN_MARK_POINT, SPAN_PARAGRAPH, SPAN_POINT_MARK, SPAN_POINT_MARK_MASK, SPAN_POINT_POINT, SPAN_PRIORITY, SPAN_PRIORITY_SHIFT, SPAN_USER, SPAN_USER_SHIFT |
SpannedString
public SpannedString(CharSequence source)
subSequence
public CharSequence subSequence(int start,
int end)
- Specified by:
subSequence
in interface CharSequence
valueOf
public static SpannedString valueOf(CharSequence source)
length
public final int length()
charAt
public final char charAt(int i)
toString
public final String toString()
- Overrides:
toString
in class 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)
Copyright © 2008-2012. All Rights Reserved.