| java.lang.Object | |
| ↳ | com.pdftron.pdf.utils.StateListDrawableBuilder |
A builder class to programmatically create state list drawable
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| StateListDrawableBuilder() | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| StateListDrawable |
build()
Builds a StateListDrawable using defined drawables in different states.
| ||||||||||
| StateListDrawableBuilder |
setDisabledDrawable(Drawable disabledDrawable)
Sets the drawable in disabled state.
| ||||||||||
| StateListDrawableBuilder |
setFocusedDrawable(Drawable focusedDrawable)
Sets the drawable in focused state.
| ||||||||||
| StateListDrawableBuilder |
setHoveredDrawable(Drawable hoveredDrawable)
Sets the drawable in hovered state.
| ||||||||||
| StateListDrawableBuilder |
setNormalDrawable(Drawable normalDrawable)
Sets the drawable in normal state.
| ||||||||||
| StateListDrawableBuilder |
setPressedDrawable(Drawable pressedDrawable)
Sets the drawable in pressed state.
| ||||||||||
| StateListDrawableBuilder |
setSelectedDrawable(Drawable selectedDrawable)
Sets the drawable in selected state.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Builds a StateListDrawable using defined drawables in different states.
Sets the drawable in disabled state.
| disabledDrawable | The drawable in disabled state |
|---|
Sets the drawable in focused state.
| focusedDrawable | The drawable in focused state |
|---|
Sets the drawable in hovered state.
| hoveredDrawable | The drawable in hovered state |
|---|
Sets the drawable in normal state.
| normalDrawable | The drawable in normal state |
|---|
Sets the drawable in pressed state.
| pressedDrawable | The drawable in pressed state |
|---|
Sets the drawable in selected state.
| selectedDrawable | The drawable in selected state |
|---|