Android
android.text
public static class

android.text.Spannable.Factory

java.lang.Object
android.text.Spannable.Factory

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

Summary

Public Constructors

            Spannable.Factory()

Public Methods

      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

Details

Public Constructors

public Spannable.Factory()

Public Methods

public static Spannable.Factory getInstance()

Returns the standard Spannable Factory.

public Spannable newSpannable(CharSequence source)

Returns a new SpannableString from the specified CharSequence. You can override this to provide a different kind of Spannable.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56