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

BackgroundColorSpan

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

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

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

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

        return 0;
    
public intgetBackgroundColor()

		return mColor;
	
public intgetSpanTypeId()

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

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

        dest.writeInt(mColor);