Build 1.0_r1(from source)

android.text
Class Editable.Factory

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

public static class Editable.Factory
extends Object

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


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

Constructor Detail

Editable.Factory

public Editable.Factory()
Method Detail

getInstance

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


newEditable

public Editable newEditable(CharSequence source)
Returns a new SpannedStringBuilder from the specified CharSequence. You can override this to provide a different kind of Spanned.


Build 1.0_r1(from source)

Please submit a feedback, bug or feature