Interface ProgressView.ProgressContext
- Enclosing class:
- ProgressView
public static interface ProgressView.ProgressContext
Context for
ProgressView
cell components.-
Method Summary
Modifier and TypeMethodDescriptionGet aProgressView
description.Gets aSpinner
frames.getState()
Get a state of aProgressView
.getView()
Gets an encapsulating owner view.resolveThemeSpinner
(String tag, Spinner defaultSpinner, Spinner fallbackSpinner) int
resolveThemeStyle
(String tag, int defaultStyle) Resolve style using existingThemeResolver
andtheme name
.
-
Method Details
-
getDescription
String getDescription()Get aProgressView
description.- Returns:
- a progress description
-
getState
ProgressView.ProgressState getState()Get a state of aProgressView
.- Returns:
- progress view state
-
getView
ProgressView getView()Gets an encapsulating owner view.- Returns:
- an owner view
-
getSpinner
Spinner getSpinner()Gets aSpinner
frames.- Returns:
- spinner frames
-
resolveThemeStyle
Resolve style using existingThemeResolver
andtheme name
. UsedefaultStyle
if resolving cannot happen.- Parameters:
tag
- the style tag to usedefaultStyle
- the default style to use- Returns:
- resolved style
-
resolveThemeSpinner
-