|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.graphics.drawable.Drawable
com.actionbarsherlock.internal.widget.IcsColorDrawable
public class IcsColorDrawable
A version of ColorDrawable that respects bounds.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class android.graphics.drawable.Drawable |
|---|
android.graphics.drawable.Drawable.Callback, android.graphics.drawable.Drawable.ConstantState |
| Constructor Summary | |
|---|---|
IcsColorDrawable(android.graphics.drawable.ColorDrawable drawable)
|
|
IcsColorDrawable(int color)
|
|
| Method Summary | |
|---|---|
void |
draw(android.graphics.Canvas canvas)
|
int |
getOpacity()
|
void |
setAlpha(int alpha)
|
void |
setColorFilter(android.graphics.ColorFilter colorFilter)
|
| Methods inherited from class android.graphics.drawable.Drawable |
|---|
clearColorFilter, copyBounds, copyBounds, createFromPath, createFromResourceStream, createFromResourceStream, createFromStream, createFromXml, createFromXmlInner, getBounds, getCallback, getChangingConfigurations, getConstantState, getCurrent, getIntrinsicHeight, getIntrinsicWidth, getLevel, getMinimumHeight, getMinimumWidth, getPadding, getState, getTransparentRegion, inflate, invalidateSelf, isStateful, isVisible, jumpToCurrentState, mutate, onBoundsChange, onLevelChange, onStateChange, resolveOpacity, scheduleSelf, setBounds, setBounds, setCallback, setChangingConfigurations, setColorFilter, setDither, setFilterBitmap, setLevel, setState, setVisible, unscheduleSelf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IcsColorDrawable(android.graphics.drawable.ColorDrawable drawable)
public IcsColorDrawable(int color)
| Method Detail |
|---|
public void draw(android.graphics.Canvas canvas)
draw in class android.graphics.drawable.Drawablepublic void setAlpha(int alpha)
setAlpha in class android.graphics.drawable.Drawablepublic void setColorFilter(android.graphics.ColorFilter colorFilter)
setColorFilter in class android.graphics.drawable.Drawablepublic int getOpacity()
getOpacity in class android.graphics.drawable.Drawable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||