# Print output for @column tags ?> TextLinks.TextLinkSpan - Android SDK | Android Developers

Most visited


Recently visited


TextLinks.TextLinkSpan

public static class TextLinks.TextLinkSpan
extends ClickableSpan

java.lang.Object
   ↳ android.text.style.CharacterStyle
     ↳ android.text.style.ClickableSpan
       ↳ android.view.textclassifier.TextLinks.TextLinkSpan


A ClickableSpan for a TextLink.

Applies only to TextViews.

Summary


Public constructors

TextLinkSpan(TextLinks.TextLink textLink)

Public methods

final TextLinks.TextLink getTextLink()
void onClick(View widget)

Performs the click action associated with this span.

Inherited methods

Public constructors


TextLinkSpan

public TextLinkSpan (TextLinks.TextLink textLink)

Parameters
textLink TextLinks.TextLink: This value cannot be null.

Public methods


getTextLink

public final TextLinks.TextLink getTextLink ()

Returns
TextLinks.TextLink

onClick

public void onClick (View widget)

Performs the click action associated with this span.

Parameters
widget View: This value cannot be null.

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.