Interface WidgetTheme<T extends WidgetTheme<T,V>,V extends BaseTheme<V>>
- Type Parameters:
T
- The type of the dynamic theme.V
- The type of the app theme.
- All Superinterfaces:
BaseTheme<V>
- All Known Implementing Classes:
AppWidgetTheme
public interface WidgetTheme<T extends WidgetTheme<T,V>,V extends BaseTheme<V>>
extends BaseTheme<V>
A
BaseTheme
to implement the widget theme.-
Method Summary
Modifier and TypeMethodDescriptionint
Get the header state used by this theme.Returns the header state string used by this theme.int
Get the app widget id used by this theme.setHeader
(int header) Set the header state used by this theme.setHeaderString
(String header) Set the header state used by this theme.setWidgetId
(int widgetId) Set the widget id used by this theme.
-
Method Details
-
getWidgetId
int getWidgetId()Get the app widget id used by this theme.- Returns:
- The app widget id used by this theme.
-
setWidgetId
Set the widget id used by this theme.- Parameters:
widgetId
- The widget id to be set.- Returns:
- The
WidgetTheme
object to allow for chaining of calls to set methods.
-
getHeader
int getHeader()Get the header state used by this theme.- Returns:
- The header state used by this theme.
-
getHeaderString
Returns the header state string used by this theme.- Returns:
- The header state string used by this theme.
-
setHeader
Set the header state used by this theme.- Parameters:
header
- The header state to be set.- Returns:
- The
WidgetTheme
object to allow for chaining of calls to set methods.
-
setHeaderString
Set the header state used by this theme.- Parameters:
header
- The header state to be set.- Returns:
- The
WidgetTheme
object to allow for chaining of calls to set methods.
-