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 TypeMethodDescriptionint
Returns the error color used by this theme.int
getErrorColor
(boolean resolve) Returns the error color used by this theme.int
getErrorColor
(boolean resolve, boolean inverse) Returns the error color used by this theme.int
Returns the error tint color used by this theme.int
getTintErrorColor
(boolean resolve) Returns the error tint color used by this theme.int
getTintErrorColor
(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
-true
to resolve the auto color.inverse
-true
to resolve the inverse color.- Returns:
- The error color used by this theme.
-
getErrorColor
Returns the error color used by this theme.- Parameters:
resolve
-true
to 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
-true
to automatically generate the tint color also.- Returns:
- The
ErrorTheme
object 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
ErrorTheme
object to allow for chaining of calls to set methods. - See Also:
-
getTintErrorColor
Returns the error tint color used by this theme.- Parameters:
resolve
-true
to resolve the auto color.inverse
-true
to 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
-true
to 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
ErrorTheme
object to allow for chaining of calls to set methods.
-