android.text.style
Class ForegroundColorSpan
java.lang.Object
android.text.style.CharacterStyle
android.text.style.ForegroundColorSpan
- All Implemented Interfaces:
- Parcelable, ParcelableSpan, UpdateAppearance
public class ForegroundColorSpan
- extends CharacterStyle
- implements UpdateAppearance, ParcelableSpan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ForegroundColorSpan
public ForegroundColorSpan(int color)
ForegroundColorSpan
public ForegroundColorSpan(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
getForegroundColor
public int getForegroundColor()
updateDrawState
public void updateDrawState(TextPaint ds)
- Specified by:
updateDrawState
in class CharacterStyle
Copyright © 2008-2012. All Rights Reserved.