# Print output for @column tags ?> Editable.Factory - Android SDK | Android Developers

Most visited


Recently visited


Editable.Factory

public static class Editable.Factory
extends Object

java.lang.Object
   ↳ android.text.Editable.Factory


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

See also:

Summary


Public constructors

Factory()

Public methods

static Editable.Factory getInstance()

Returns the standard Editable Factory.

Editable newEditable(CharSequence source)

Returns a new SpannedStringBuilder from the specified CharSequence.

Inherited methods

Public constructors


Factory

public Factory ()

Public methods


getInstance

public static Editable.Factory getInstance ()

Returns the standard Editable Factory.

Returns
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.

Parameters
source CharSequence

Returns
Editable

Browse this site in English?

You requested a page in English, but your language preference for this site is English.

Would you like to change your language preference and browse this site in English? If you want to change your language preference later, use the language menu at the bottom of each page.