android.text.style
Class URLSpan

java.lang.Object
  extended by android.text.style.CharacterStyle
      extended by android.text.style.ClickableSpan
          extended by android.text.style.URLSpan
All Implemented Interfaces:
Parcelable, ParcelableSpan, UpdateAppearance

public class URLSpan
extends ClickableSpan
implements ParcelableSpan


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
 
Field Summary
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Constructor Summary
URLSpan(Parcel src)
           
URLSpan(String url)
           
 
Method Summary
 int describeContents()
           
 int getSpanTypeId()
           
 String getURL()
           
 void onClick(View widget)
           
 void writeToParcel(Parcel dest, int flags)
           
 
Methods inherited from class android.text.style.ClickableSpan
updateDrawState
 
Methods inherited from class android.text.style.CharacterStyle
getUnderlying, wrap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLSpan

public URLSpan(String url)

URLSpan

public URLSpan(Parcel src)
Method Detail

getSpanTypeId

public int getSpanTypeId()
Specified by:
getSpanTypeId in interface ParcelableSpan

describeContents

public int describeContents()
Specified by:
describeContents in interface Parcelable

writeToParcel

public void writeToParcel(Parcel dest,
                          int flags)
Specified by:
writeToParcel in interface Parcelable

getURL

public String getURL()

onClick

public void onClick(View widget)
Specified by:
onClick in class ClickableSpan


Copyright © 2008-2012. All Rights Reserved.