|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.graphics.drawable.Drawable
android.graphics.drawable.DrawableContainer
android.graphics.drawable.StateListDrawable
public class StateListDrawable
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class android.graphics.drawable.DrawableContainer |
|---|
DrawableContainer.DrawableContainerState |
| Nested classes/interfaces inherited from class android.graphics.drawable.Drawable |
|---|
Drawable.Callback, Drawable.ConstantState |
| Constructor Summary | |
|---|---|
StateListDrawable()
|
|
| Method Summary | |
|---|---|
void |
addState(int[] stateSet,
Drawable drawable)
|
void |
inflate(Resources r,
org.xmlpull.v1.XmlPullParser parser,
AttributeSet attrs)
|
boolean |
isStateful()
|
Drawable |
mutate()
|
protected boolean |
onStateChange(int[] stateSet)
|
| Methods inherited from class android.graphics.drawable.DrawableContainer |
|---|
draw, getChangingConfigurations, getConstantState, getCurrent, getIntrinsicHeight, getIntrinsicWidth, getMinimumHeight, getMinimumWidth, getOpacity, getPadding, invalidateDrawable, onBoundsChange, onLevelChange, scheduleDrawable, selectDrawable, setAlpha, setColorFilter, setConstantState, setDither, setVisible, unscheduleDrawable |
| Methods inherited from class android.graphics.drawable.Drawable |
|---|
clearColorFilter, copyBounds, copyBounds, createFromPath, createFromResourceStream, createFromResourceStream, createFromStream, createFromXml, createFromXmlInner, getBounds, getLevel, getState, getTransparentRegion, invalidateSelf, isVisible, resolveOpacity, scheduleSelf, setBounds, setBounds, setCallback, setChangingConfigurations, setColorFilter, setFilterBitmap, setLevel, setState, unscheduleSelf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StateListDrawable()
| Method Detail |
|---|
public void addState(int[] stateSet,
Drawable drawable)
public boolean isStateful()
isStateful in class DrawableContainerprotected boolean onStateChange(int[] stateSet)
onStateChange in class DrawableContainer
public void inflate(Resources r,
org.xmlpull.v1.XmlPullParser parser,
AttributeSet attrs)
throws org.xmlpull.v1.XmlPullParserException,
java.io.IOException
inflate in class Drawableorg.xmlpull.v1.XmlPullParserException
java.io.IOExceptionpublic Drawable mutate()
mutate in class DrawableContainer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||