Interface DynamicStateWidget

All Superinterfaces:
BaseWidget, DynamicWidget
All Known Subinterfaces:
DynamicStateSelectedWidget
All Known Implementing Classes:
DynamicCheckBox, DynamicCheckedTextView, DynamicMaterialSwitch, DynamicNavigationView, DynamicRadioButton, DynamicSwitchCompat

public interface DynamicStateWidget extends DynamicWidget
Interface to create dynamic widgets with a normal state according to the DynamicTheme.
  • Method Details

    • getStateNormalColorType

      int getStateNormalColorType()
      Returns the normal state color type applied to this widget.
      Returns:
      The normal state color type applied to this widget.
      See Also:
    • setStateNormalColorType

      void setStateNormalColorType(int stateNormalColorType)
      Set the normal state color type to this widget.
      Parameters:
      stateNormalColorType - Normal state color type for this widget.
      See Also:
    • getStateNormalColor

      @ColorInt int getStateNormalColor(boolean resolve)
      Returns the value of normal state color applied to this widget.
      Parameters:
      resolve - true to resolve the applied normal state color.
      Returns:
      The value of normal state color applied to this widget.
    • getStateNormalColor

      @ColorInt int getStateNormalColor()
      Returns the value of normal state color applied to this widget.
      Returns:
      The value of normal state color applied to this widget.
    • setStateNormalColor

      void setStateNormalColor(@ColorInt int stateNormalColor)
      Set the value of normal state color for this widget.
      Parameters:
      stateNormalColor - Normal state color for this widget.