Android
android.text.style
public abstract class

android.text.style.ClickableSpan

java.lang.Object
android.text.style.CharacterStyle
android.text.style.ClickableSpan

If an object of this type is attached to the text of a TextView with a movement method of LinkMovementMethod, the affected spans of text can be selected. If clicked, the onClick(View) method will be called.

Known Direct Subclasses

Summary

Public Constructors

            ClickableSpan()

Public Methods

abstract          void  onClick(View widget)
Performs the click action associated with this span.
          void  updateDrawState(TextPaint ds)
Makes the text underlined and in the link color.
Methods inherited from class android.text.style.CharacterStyle
Methods inherited from class java.lang.Object

Details

Public Constructors

public ClickableSpan()

Public Methods

public abstract void onClick(View widget)

Performs the click action associated with this span.

public void updateDrawState(TextPaint ds)

Makes the text underlined and in the link color.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48