Build 1.0_r1(from source)

android.text
Class Spannable.Factory

java.lang.Object
  extended by android.text.Spannable.Factory
Enclosing interface:
Spannable

public static class Spannable.Factory
extends Object

Factory used by TextView to create new Spannables. You can subclass it to provide something other than SpannableString.


Constructor Summary
Spannable.Factory()
           
 
Method Summary
static Spannable.Factory getInstance()
          Returns the standard Spannable Factory.
 Spannable newSpannable(CharSequence source)
          Returns a new SpannableString from the specified CharSequence.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Spannable.Factory

public Spannable.Factory()
Method Detail

getInstance

public static Spannable.Factory getInstance()
Returns the standard Spannable Factory.


newSpannable

public Spannable newSpannable(CharSequence source)
Returns a new SpannableString from the specified CharSequence. You can override this to provide a different kind of Spannable.


Build 1.0_r1(from source)

Please submit a feedback, bug or feature