FileDocCategorySizeDatePackage
SpanWatcher.javaAPI DocAndroid 1.5 API1687Wed May 06 22:41:56 BST 2009android.text

SpanWatcher

public interface SpanWatcher implements NoCopySpan
When an object of this type is attached to a Spannable, its methods will be called to notify it that other markup objects have been added, changed, or removed.

Fields Summary
Constructors Summary
Methods Summary
public voidonSpanAdded(Spannable text, java.lang.Object what, int start, int end)
This method is called to notify you that the specified object has been attached to the specified range of the text.

public voidonSpanChanged(Spannable text, java.lang.Object what, int ostart, int oend, int nstart, int nend)
This method is called to notify you that the specified object has been relocated from the range ostart…oend to the new range nstart…nend of the text.

public voidonSpanRemoved(Spannable text, java.lang.Object what, int start, int end)
This method is called to notify you that the specified object has been detached from the specified range of the text.