android.text.style
Class TextAppearanceSpan
java.lang.Object
android.text.style.CharacterStyle
android.text.style.MetricAffectingSpan
android.text.style.TextAppearanceSpan
- All Implemented Interfaces:
- Parcelable, ParcelableSpan, UpdateAppearance, UpdateLayout
public class TextAppearanceSpan
- extends MetricAffectingSpan
- implements ParcelableSpan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextAppearanceSpan
public TextAppearanceSpan(Context context,
int appearance)
TextAppearanceSpan
public TextAppearanceSpan(Context context,
int appearance,
int colorList)
TextAppearanceSpan
public TextAppearanceSpan(String family,
int style,
int size,
ColorStateList color,
ColorStateList linkColor)
TextAppearanceSpan
public TextAppearanceSpan(Parcel src)
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
getFamily
public String getFamily()
getTextColor
public ColorStateList getTextColor()
getLinkTextColor
public ColorStateList getLinkTextColor()
getTextSize
public int getTextSize()
getTextStyle
public int getTextStyle()
updateDrawState
public void updateDrawState(TextPaint ds)
- Specified by:
updateDrawState
in class CharacterStyle
updateMeasureState
public void updateMeasureState(TextPaint ds)
- Specified by:
updateMeasureState
in class MetricAffectingSpan
Copyright © 2008-2012. All Rights Reserved.