Build 1.0_r1(from source)

android.text
Class SpannableStringInternal

java.lang.Object
  extended by android.text.SpannableStringInternal
Direct Known Subclasses:
SpannableString, SpannedString

abstract class SpannableStringInternal
extends Object


Field Summary
(package private) static Object[] EMPTY
           
 
Constructor Summary
SpannableStringInternal(CharSequence source, int start, int end)
           
 
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)
           
(package private)  void removeSpan(Object what)
           
(package private)  void setSpan(Object what, int start, int end, int flags)
           
 String toString()
          Returns a string containing a concise, human-readable description of the receiver.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

EMPTY

static final Object[] EMPTY
Constructor Detail

SpannableStringInternal

SpannableStringInternal(CharSequence source,
                        int start,
                        int end)
Method Detail

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 the receiver.

Overrides:
toString in class Object
Returns:
String a printable representation for the receiver.

getChars

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

setSpan

void setSpan(Object what,
             int start,
             int end,
             int flags)

removeSpan

void removeSpan(Object what)

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)

Build 1.0_r1(from source)

Please submit a feedback, bug or feature