Android
android.text
public interface

android.text.Spannable

android.text.Spannable Spanned

This is the interface for text to which markup objects can be attached and detached. Not all Spannable classes have mutable text; see Editable for that.

Nested Classes
Spannable.Factory Factory used by TextView to create new Spannables. 
Known Indirect Subclasses

Summary

Constants inherited from interface android.text.Spanned

Public Methods

          void  removeSpan(Object what)
Remove the specified object from the range of text to which it was attached, if any.
          void  setSpan(Object what, int start, int end, int flags)
Attach the specified markup object to the range start…end of the text, or move the object to that range if it was already attached elsewhere.
Methods inherited from interface android.text.Spanned
Methods inherited from interface java.lang.CharSequence

Details

Public Methods

public void removeSpan(Object what)

Remove the specified object from the range of text to which it was attached, if any. It is OK to remove an object that was never attached in the first place.

public void setSpan(Object what, int start, int end, int flags)

Attach the specified markup object to the range start…end of the text, or move the object to that range if it was already attached elsewhere. See Spanned for an explanation of what the flags mean. The object can be one that has meaning only within your application, or it can be one that the text system will use to affect text display or behavior. Some noteworthy ones are the subclasses of CharacterStyle and ParagraphStyle, and TextWatcher and SpanWatcher.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48