Interface StringTheme<T extends StringTheme<T>>
- Type Parameters:
T- The type of the dynamic theme.
- All Superinterfaces:
BaseTheme<T>
- All Known Subinterfaces:
CodeTheme<T>
- All Known Implementing Classes:
AppTheme,AppWidgetTheme
A
BaseTheme to implement the string theme.-
Method Summary
Modifier and TypeMethodDescriptionReturns the sharable data for the theme.Convert this theme into a pretty JSON string.Converts this theme into its JSON equivalent.toJsonString(boolean resolve, boolean inverse) Converts this theme into its JSON equivalent.
-
Method Details
-
toJsonString
Converts this theme into its JSON equivalent.- Parameters:
resolve-trueto resolve the values.inverse-trueto resolve the inverse values.- Returns:
- The JSON equivalent of this theme.
-
toJsonString
Converts this theme into its JSON equivalent.- Returns:
- The JSON equivalent of this theme.
-
toDynamicString
Convert this theme into a pretty JSON string.- Returns:
- The converted JSON string.
-
getThemeData
Returns the sharable data for the theme.- Returns:
- The sharable data for the theme.
-