Interface ErrorTheme<T extends ErrorTheme<T>>
- Type Parameters:
T- The type of the dynamic theme.
- All Superinterfaces:
BaseTheme<T>
- All Known Subinterfaces:
DynamicColor<T>
- All Known Implementing Classes:
AppTheme,AppWidgetTheme
A
BaseTheme to implement the error theme.-
Method Summary
Modifier and TypeMethodDescriptionintReturns the error color used by this theme.intgetErrorColor(boolean resolve) Returns the error color used by this theme.intgetErrorColor(boolean resolve, boolean inverse) Returns the error color used by this theme.intReturns the error tint color used by this theme.intgetTintErrorColor(boolean resolve) Returns the error tint color used by this theme.intgetTintErrorColor(boolean resolve, boolean inverse) Returns the error tint color used by this theme.setErrorColor(int errorColor) Set the error color used by this theme.setErrorColor(int errorColor, boolean generateTint) Set the error color used by this theme.setTintErrorColor(int tintErrorColor) Set the error tint color used by this theme.
-
Method Details
-
getErrorColor
Returns the error color used by this theme.- Parameters:
resolve-trueto resolve the auto color.inverse-trueto resolve the inverse color.- Returns:
- The error color used by this theme.
-
getErrorColor
Returns the error color used by this theme.- Parameters:
resolve-trueto resolve the auto color.- Returns:
- The error color used by this theme.
-
getErrorColor
Returns the error color used by this theme.- Returns:
- The error color used by this theme.
-
setErrorColor
Set the error color used by this theme.- Parameters:
errorColor- The error color to be set.generateTint-trueto automatically generate the tint color also.- Returns:
- The
ErrorThemeobject to allow for chaining of calls to set methods. - See Also:
-
setErrorColor
Set the error color used by this theme.It will automatically generate the tint color also.
- Parameters:
errorColor- The error color to be set.- Returns:
- The
ErrorThemeobject to allow for chaining of calls to set methods. - See Also:
-
getTintErrorColor
Returns the error tint color used by this theme.- Parameters:
resolve-trueto resolve the auto color.inverse-trueto resolve the inverse color.- Returns:
- The error tint color used by this theme.
-
getTintErrorColor
Returns the error tint color used by this theme.- Parameters:
resolve-trueto resolve the auto color.- Returns:
- The error tint color used by this theme.
-
getTintErrorColor
Returns the error tint color used by this theme.- Returns:
- The error tint color used by this theme.
-
setTintErrorColor
Set the error tint color used by this theme.- Parameters:
tintErrorColor- The error tint color to be set.- Returns:
- The
ErrorThemeobject to allow for chaining of calls to set methods.
-