android.text
Class Editable.Factory
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Editable.Factory
public Editable.Factory()
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.
Please submit a feedback, bug or feature