android.text
Class SpannedString

java.lang.Object
  extended by android.text.SpannedString
All Implemented Interfaces:
GetChars, Spanned, CharSequence

public final class SpannedString
extends Object
implements CharSequence, GetChars, Spanned


Field Summary
 
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
 
Constructor Summary
SpannedString(CharSequence source)
           
 
Method Summary
 char charAt(int i)
           
 void getChars(int start, int end, char[] dest, int off)
           
 int getSpanEnd(Object what)
           
 int getSpanFlags(Object what)
           
<T> T[]
getSpans(int queryStart, int queryEnd, Class<T> kind)
           
 int getSpanStart(Object what)
           
 int length()
           
 int nextSpanTransition(int start, int limit, Class kind)
           
 CharSequence subSequence(int start, int end)
           
 String toString()
           
static SpannedString valueOf(CharSequence source)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface android.text.GetChars
getChars
 
Methods inherited from interface android.text.Spanned
getSpanEnd, getSpanFlags, getSpans, getSpanStart, nextSpanTransition
 
Methods inherited from interface java.lang.CharSequence
charAt, length, toString
 

Constructor Detail

SpannedString

public SpannedString(CharSequence source)
Method Detail

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.