|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.content.res.ColorStateList
public class ColorStateList
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface android.os.Parcelable |
|---|
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T> |
| Field Summary | |
|---|---|
static Parcelable.Creator<ColorStateList> |
CREATOR
|
| Fields inherited from interface android.os.Parcelable |
|---|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE |
| Constructor Summary | |
|---|---|
ColorStateList(int[][] states,
int[] colors)
|
|
| Method Summary | |
|---|---|
static ColorStateList |
createFromXml(Resources r,
org.xmlpull.v1.XmlPullParser parser)
|
int |
describeContents()
|
int |
getColorForState(int[] stateSet,
int defaultColor)
|
int |
getDefaultColor()
|
boolean |
isStateful()
|
String |
toString()
|
static ColorStateList |
valueOf(int color)
|
ColorStateList |
withAlpha(int alpha)
|
void |
writeToParcel(Parcel dest,
int flags)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final Parcelable.Creator<ColorStateList> CREATOR
| Constructor Detail |
|---|
public ColorStateList(int[][] states,
int[] colors)
| Method Detail |
|---|
public static ColorStateList valueOf(int color)
public static ColorStateList createFromXml(Resources r,
org.xmlpull.v1.XmlPullParser parser)
throws org.xmlpull.v1.XmlPullParserException,
IOException
org.xmlpull.v1.XmlPullParserException
IOExceptionpublic ColorStateList withAlpha(int alpha)
public boolean isStateful()
public int getColorForState(int[] stateSet,
int defaultColor)
public int getDefaultColor()
public String toString()
toString in class Objectpublic int describeContents()
describeContents in interface Parcelable
public void writeToParcel(Parcel dest,
int flags)
writeToParcel in interface Parcelable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||