Interface IBackgroundStyle<S extends IBackgroundStyle<S>>
- Type Parameters:
S- is the type of aIBackgroundStyle.
- All Known Subinterfaces:
IAccordionStyle, IButtonStyle, ICheckboxStyle, IComponentStyle, IControlStyle<S>, IDropdownMenuStyle, IGridStyle, IHorizontalStackStyle, IImageControlStyle, IItemMenuStyle<S>, ILabelStyle, ILinearContainerStyle<S>, ILinkStyle, ISingleContainerStyle, ITabContainerStyle, ITextboxStyle, IUploaderStyle, IValidationLabelStyle, IVerticalStackStyle
- All Known Implementing Classes:
AbstractControlStyle, AbstractItemMenuStyle, AbstractLinearContainerStyle, ButtonStyle, ComponentStyle, DropdownMenuStyle, FloatContainerStyle, GridStyle, HorizontalStackStyle, ImageControlStyle, LabelStyle, LinkStyle, SingleContainerStyle, TextboxStyle, UploaderStyle, ValidationLabelStyle, VerticalStackStyle
public interface IBackgroundStyle<S extends IBackgroundStyle<S>>
- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionforStateSetBackground(ControlState state, IBackground background) forStateSetBackgroundColor(ControlState state, IColor backgroundColor) forStateSetBackgroundColorGradient(ControlState state, IColorGradient backgroundColorGradient) forStateSetBackgroundImage(ControlState state, IImage backgroundImage, ImageApplication imageApplication) void
-
Method Details
-
getBackgroundWhenHasState
-
removeCustomBackgrounds
void removeCustomBackgrounds() -
forStateSetBackgroundColor
-
forStateSetBackgroundColorGradient
-
forStateSetBackgroundImage
S forStateSetBackgroundImage(ControlState state, IImage backgroundImage, ImageApplication imageApplication) -
forStateSetBackground
-