Class AppWidgetTheme<T extends AppWidgetTheme<T,V>,V extends AppTheme<V>>
java.lang.Object
com.pranavpandey.android.dynamic.theme.AppTheme<V>
com.pranavpandey.android.dynamic.theme.AppWidgetTheme<T,V>
- Type Parameters:
T
- The type of the dynamic theme.V
- The type of the app theme.
- All Implemented Interfaces:
AccentTheme<V>
,AutoTheme<V>
,BackgroundAware<V>
,BackgroundTheme<V>
,BaseTheme<V>
,CodeTheme<V>
,CornerTheme<V>
,DynamicColor<V>
,ElevationTheme<V>
,ErrorTheme<V>
,FallbackTheme<V>
,PrimaryTheme<V>
,ResourceTheme<V>
,StringTheme<V>
,StrokeTheme<V>
,StyleTheme<V>
,SurfaceTheme<V>
,TextTheme<V>
,TranslucentTheme<V>
,TypeTheme<V>
,WidgetTheme<T,
V>
public abstract class AppWidgetTheme<T extends AppWidgetTheme<T,V>,V extends AppTheme<V>>
extends AppTheme<V>
implements WidgetTheme<T,V>
An abstract class to implement an app widget theme.
-
Constructor Summary
-
Method Summary
Methods inherited from class com.pranavpandey.android.dynamic.theme.AppTheme
getCodeBackgroundColor, getCodeContrastRatio, getCodeData, getCodeDataColor, getCodeFinderColor, getCodeOverlayColor, getCodeStrokeColor, getCodeStyle, getThemeData, isDynamicColor, isStroke, toJsonString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.pranavpandey.android.dynamic.theme.base.AccentTheme
getAccentColor, getAccentColor, getAccentColor, getAccentColorDark, getAccentColorDark, getAccentColorDark, getTintAccentColor, getTintAccentColor, getTintAccentColor, getTintAccentColorDark, getTintAccentColorDark, getTintAccentColorDark, setAccentColor, setAccentColor, setAccentColorDark, setAccentColorDark, setTintAccentColor, setTintAccentColorDark
Methods inherited from interface com.pranavpandey.android.dynamic.theme.base.AutoTheme
autoGenerateColors, autoGenerateColors
Methods inherited from interface com.pranavpandey.android.dynamic.theme.base.BackgroundAware
getBackgroundAware, getBackgroundAware, getContrast, getContrast, getContrastRatio, isBackgroundAware, setBackgroundAware, setContrast
Methods inherited from interface com.pranavpandey.android.dynamic.theme.base.BackgroundTheme
getBackgroundColor, getBackgroundColor, getBackgroundColor, getTintBackgroundColor, getTintBackgroundColor, getTintBackgroundColor, isDarkTheme, isInverseTheme, isShowDividers, setBackgroundColor, setBackgroundColor, setTintBackgroundColor
Methods inherited from interface com.pranavpandey.android.dynamic.theme.base.BaseTheme
isHost, setHost
Methods inherited from interface com.pranavpandey.android.dynamic.theme.base.CornerTheme
getCornerRadius, getCornerRadius, getCornerSize, getCornerSize, setCornerRadius, setCornerSize
Methods inherited from interface com.pranavpandey.android.dynamic.theme.base.DynamicColor
getDynamicColors
Methods inherited from interface com.pranavpandey.android.dynamic.theme.base.ElevationTheme
getElevation, getElevation, isElevation, setElevation
Methods inherited from interface com.pranavpandey.android.dynamic.theme.base.ErrorTheme
getErrorColor, getErrorColor, getErrorColor, getTintErrorColor, getTintErrorColor, getTintErrorColor, setErrorColor, setErrorColor, setTintErrorColor
Methods inherited from interface com.pranavpandey.android.dynamic.theme.base.FallbackTheme
getThemeFallback
Methods inherited from interface com.pranavpandey.android.dynamic.theme.base.PrimaryTheme
getPrimaryColor, getPrimaryColor, getPrimaryColor, getPrimaryColorDark, getPrimaryColorDark, getPrimaryColorDark, getTintPrimaryColor, getTintPrimaryColor, getTintPrimaryColor, getTintPrimaryColorDark, getTintPrimaryColorDark, getTintPrimaryColorDark, setPrimaryColor, setPrimaryColor, setPrimaryColorDark, setPrimaryColorDark, setTintPrimaryColor, setTintPrimaryColorDark
Methods inherited from interface com.pranavpandey.android.dynamic.theme.base.ResourceTheme
getThemeRes, setThemeRes
Methods inherited from interface com.pranavpandey.android.dynamic.theme.base.StringTheme
toDynamicString, toJsonString
Methods inherited from interface com.pranavpandey.android.dynamic.theme.base.StrokeTheme
getStrokeColor
Methods inherited from interface com.pranavpandey.android.dynamic.theme.base.StyleTheme
getStyle, setStyle
Methods inherited from interface com.pranavpandey.android.dynamic.theme.base.SurfaceTheme
getSurfaceColor, getSurfaceColor, getSurfaceColor, getTintSurfaceColor, getTintSurfaceColor, getTintSurfaceColor, isBackgroundSurface, setSurfaceColor, setSurfaceColor, setTintSurfaceColor
Methods inherited from interface com.pranavpandey.android.dynamic.theme.base.TextTheme
getFontScale, getFontScale, getFontScaleRelative, getHighlightColor, getHighlightColor, getTextPrimaryColor, getTextPrimaryColor, getTextPrimaryColor, getTextPrimaryColorInverse, getTextPrimaryColorInverse, getTextPrimaryColorInverse, getTextSecondaryColor, getTextSecondaryColor, getTextSecondaryColor, getTextSecondaryColorInverse, getTextSecondaryColorInverse, getTextSecondaryColorInverse, isFontScale, setFontScale, setTextPrimaryColor, setTextPrimaryColor, setTextPrimaryColorInverse, setTextSecondaryColor, setTextSecondaryColor, setTextSecondaryColorInverse
Methods inherited from interface com.pranavpandey.android.dynamic.theme.base.TranslucentTheme
getAlpha, getOpacity, getOpacity, isTranslucent, setOpacity
Methods inherited from interface com.pranavpandey.android.dynamic.theme.base.TypeTheme
getType, getType, setType
Methods inherited from interface com.pranavpandey.android.dynamic.theme.base.WidgetTheme
getHeader, getHeaderString, getWidgetId, setHeader, setHeaderString, setWidgetId
-
Constructor Details
-
AppWidgetTheme
public AppWidgetTheme()
-