Interface DynamicScrollableWidget
- All Superinterfaces:
BaseWidget
,DynamicWidget
- All Known Implementing Classes:
DynamicGridView
,DynamicHorizontalScrollView
,DynamicListView
,DynamicNavigationView
,DynamicNestedGridView
,DynamicNestedListView
,DynamicNestedScrollView
,DynamicRecyclerView
,DynamicScrollView
Interface to create dynamic widgets with a scroll bar according to the
DynamicTheme
.-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the value of scroll bar color applied to this widget.int
getScrollBarColor
(boolean resolve) Returns the value of scroll bar color applied to this widget.int
Returns the scroll bar color type applied to this widget.void
setScrollableWidgetColor
(boolean setScrollBarColor) Set color and scroll bar color for this widget at once.void
Set scroll bar color for this widget according to the supplied values.void
setScrollBarColor
(int scrollBarColor) Set the value of scroll bar color for this widget.void
setScrollBarColorType
(int scrollBarColorType) Set the scroll bar color type to this widget.Methods inherited from interface com.pranavpandey.android.dynamic.support.widget.base.BaseWidget
initialize, loadFromAttributes
Methods inherited from interface com.pranavpandey.android.dynamic.support.widget.base.DynamicWidget
getBackgroundAware, getColor, getColor, getColorType, getContrast, getContrast, getContrastRatio, getContrastWithColor, getContrastWithColorType, isBackgroundAware, setBackgroundAware, setColor, setColor, setColorType, setContrast, setContrastWithColor, setContrastWithColorType, setEnabled
-
Method Details
-
getScrollBarColorType
int getScrollBarColorType()Returns the scroll bar color type applied to this widget.- Returns:
- The scroll bar color type applied to this widget.
- See Also:
-
setScrollBarColorType
void setScrollBarColorType(int scrollBarColorType) Set the scroll bar color type to this widget.- Parameters:
scrollBarColorType
- Scroll bar color type for this widget.- See Also:
-
getScrollBarColor
Returns the value of scroll bar color applied to this widget.- Parameters:
resolve
-true
to resolve the applied scroll bar color.- Returns:
- The value of scroll bar color applied to this widget.
-
getScrollBarColor
Returns the value of scroll bar color applied to this widget.- Returns:
- The value of scroll bar color applied to this widget.
-
setScrollBarColor
Set the value of scroll bar color for this widget.- Parameters:
scrollBarColor
- Scroll bar color for this widget.
-
setScrollBarColor
void setScrollBarColor()Set scroll bar color for this widget according to the supplied values. -
setScrollableWidgetColor
void setScrollableWidgetColor(boolean setScrollBarColor) Set color and scroll bar color for this widget at once.- Parameters:
setScrollBarColor
-true
to set the scroll bar color also.
-