FileDocCategorySizeDatePackage
ForegroundColorSpan.javaAPI DocAndroid 1.5 API1455Wed May 06 22:41:56 BST 2009android.text.style

ForegroundColorSpan

public class ForegroundColorSpan extends CharacterStyle implements UpdateAppearance, android.text.ParcelableSpan

Fields Summary
private final int
mColor
Constructors Summary
public ForegroundColorSpan(int color)

		mColor = color;
	
public ForegroundColorSpan(android.os.Parcel src)

        mColor = src.readInt();
    
Methods Summary
public intdescribeContents()

        return 0;
    
public intgetForegroundColor()

		return mColor;
	
public intgetSpanTypeId()

        return TextUtils.FOREGROUND_COLOR_SPAN;
    
public voidupdateDrawState(android.text.TextPaint ds)

		ds.setColor(mColor);
	
public voidwriteToParcel(android.os.Parcel dest, int flags)

        dest.writeInt(mColor);