Class AbstractControlStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
java.lang.Object
ch.nolix.system.element.base.AbstractElement
ch.nolix.system.element.multistateconfiguration.AbstractMultiStateConfiguration<S, ControlState>
ch.nolix.system.webgui.controlstyle.AbstractControlStyle<S>
- All Implemented Interfaces:
Resettable, AttributesRepresentable, Element, SpecificationRepresentable, MultiStateConfiguration<S, ControlState>, MutableElement, RespondingMutableElement<S>, BackgroundStyle<S>, BorderStyle<S>, ControlBaseStyle<S>, ControlStyle<S>, CornerStyle<S>, PaddingStyle<S>, ShadowStyle<S>, SizeStyle<S>
- Direct Known Subclasses:
AbstractItemMenuStyle, AbstractLinearContainerStyle, ButtonStyle, ComponentStyle, GridStyle, ImageControlStyle, LabelStyle, LinkStyle, SingleContainerStyle, TabContainerStyle, TextboxStyle, UploaderStyle, ValidationLabelStyle
public abstract class AbstractControlStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
extends AbstractMultiStateConfiguration<S, ControlState>
implements ControlStyle<S>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final IBackgroundstatic final booleanstatic final IColorstatic final intstatic final intstatic final Fontstatic final doublestatic final intstatic final Colorstatic final LineDecoration -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanbooleanfinal booleandefinesWidthForState(ControlState state) final SforStateSetBackground(ControlState state, IBackground background) final SforStateSetBackgroundColor(ControlState state, IColor backgroundColor) final SforStateSetBackgroundColorGradient(ControlState state, IColorGradient backgroundColorGradient) final SforStateSetBackgroundImage(ControlState state, Image backgroundImage, ImageApplication imageApplication) final SforStateSetBoldTextFlag(ControlState state, boolean boldTextFlag) final SforStateSetBorderColor(ControlState state, IColor borderColor) final SforStateSetBorderThickness(ControlState state, int borderThickness) final SforStateSetBottomBorderColor(ControlState state, IColor bottomBorderColor) final SforStateSetBottomBorderThickness(ControlState state, int bottomBorderThickness) final SforStateSetBottomPadding(ControlState state, int bottomPadding) final SforStateSetCornerRadius(ControlState state, int cornerRadius) final SforStateSetCornerShadow(ControlState state, ICornerShadow cornerShadow) final SforStateSetCornerShadows(ControlState state, ExtendedIterable<? extends ICornerShadow> cornerShadows) final SforStateSetCornerShadows(ControlState state, ICornerShadow... cornerShadows) final SforStateSetFont(ControlState state, Font font) final SforStateSetHeight(ControlState state, int height) final SforStateSetHeightInPercentOfViewArea(ControlState state, double heightInPercentOfViewAreaHeight) final SforStateSetLeftBorderColor(ControlState state, IColor leftBorderColor) final SforStateSetLeftBorderThickness(ControlState state, int leftBorderThickness) final SforStateSetLeftPadding(ControlState state, int leftPadding) final SforStateSetOpacity(ControlState state, double opacity) final SforStateSetPadding(ControlState state, int padding) final SforStateSetRightBorderColor(ControlState state, IColor rightBorderColor) final SforStateSetRightBorderThickness(ControlState state, int rightBorderThickness) final SforStateSetRightPadding(ControlState state, int rightPadding) final SforStateSetTextColor(ControlState state, IColor textColor) forStateSetTextLineDecoration(ControlState state, LineDecoration textLineDecoration) final SforStateSetTextSize(ControlState state, int textSize) final SforStateSetTopBorderColor(ControlState state, IColor topBorderColor) final SforStateSetTopBorderThickness(ControlState state, int topBorderThickness) final SforStateSetTopPadding(ControlState state, int topPadding) final SforStateSetWidth(ControlState state, int width) final SforStateSetWidthInPercentOfViewAreaWidth(ControlState state, double widthInPercentOfViewAreaWidth) final IBackgroundfinal booleanfinal IColorfinal intfinal IAbsoluteOrRelativeIntfinal intfinal ExtendedIterable<? extends ICornerShadow> final FontgetFontWhenHasState(ControlState state) final IAbsoluteOrRelativeIntgetHeightForState(ControlState state) final IColorfinal intfinal IAbsoluteOrRelativeIntfinal doublefinal IColorfinal intfinal IAbsoluteOrRelativeIntfinal IColorfinal intfinal IColorfinal intfinal IAbsoluteOrRelativeIntfinal IAbsoluteOrRelativeIntgetWidthForState(ControlState state) final voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidfinal voidvoidfinal voidfinal voidfinal voidfinal voidfinal voidMethods inherited from class AbstractMultiStateConfiguration
addChild, addedOrChangedAttribute, addOrChangeAttribute, addOrChangeAttribute, getAttributes, getBaseState, removeChild, reset, setFromMethods inherited from class AbstractElement
equals, getSpecification, hashCode, toStringMethods inherited from interface AttributesRepresentable
getAttributesMethods inherited from interface ControlBaseStyle
definesTextLineDecorationForState, forStateSetBoldTextFlag, forStateSetFont, forStateSetOpacity, forStateSetTextColor, forStateSetTextLineDecoration, forStateSetTextSize, getBoldTextFlagWhenHasState, getFontWhenHasState, getOpacityWhenHasState, getTextColorWhenHasState, getTextLineDecorationWhenHasState, getTextSizeWhenHasState, removeCustomBoldTextFlags, removeCustomFonts, removeCustomOpacities, removeCustomTextColors, removeCustomTextLineDecorations, removeCustomTextSizesMethods inherited from interface MultiStateConfiguration
addChild, getBaseState, removeChildMethods inherited from interface MutableElement
addOrChangeAttribute, addOrChangeAttribute, addOrChangeAttributes, resetFromAttributes, resetFromSpecificationMethods inherited from interface Resettable
resetMethods inherited from interface RespondingMutableElement
addedOrChangedAttributeMethods inherited from interface SpecificationRepresentable
getSpecification, hasEqualSpecificationAsElement, toFormatedString
-
Field Details
-
DEFAULT_CORNER_RADIUS
public static final int DEFAULT_CORNER_RADIUS- See Also:
-
DEFAULT_BORDER_THICKNESS
public static final int DEFAULT_BORDER_THICKNESS- See Also:
-
DEFAULT_BORDER_COLOR
-
DEFAULT_BACKGROUND
-
DEFAULT_PADDING
public static final int DEFAULT_PADDING- See Also:
-
DEFAULT_OPACITY
public static final double DEFAULT_OPACITY- See Also:
-
DEFAULT_FONT
-
DEFAULT_BOLD_TEXT_FLAG
public static final boolean DEFAULT_BOLD_TEXT_FLAG- See Also:
-
DEAULT_TEXT_SIZE
public static final int DEAULT_TEXT_SIZE- See Also:
-
DEFAULT_TEXT_LINE_DECORATION
-
DEFAULT_TEXT_COLOR
-
-
Constructor Details
-
AbstractControlStyle
public AbstractControlStyle()
-
-
Method Details
-
definesHeightForState
- Specified by:
definesHeightForStatein interfaceSizeStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
definesWidthForState
- Specified by:
definesWidthForStatein interfaceSizeStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
getBackgroundWhenHasState
- Specified by:
getBackgroundWhenHasStatein interfaceBackgroundStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
getBottomBorderColorWhenHasState
- Specified by:
getBottomBorderColorWhenHasStatein interfaceBorderStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
getBottomBorderThicknessWhenHasState
- Specified by:
getBottomBorderThicknessWhenHasStatein interfaceBorderStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
getBottomPaddingWhenHasState
- Specified by:
getBottomPaddingWhenHasStatein interfacePaddingStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
getCornerRadiusWhenHasState
- Specified by:
getCornerRadiusWhenHasStatein interfaceCornerStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
getCornerShadowsWhenHasState
public final ExtendedIterable<? extends ICornerShadow> getCornerShadowsWhenHasState(ControlState state) - Specified by:
getCornerShadowsWhenHasStatein interfaceShadowStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
getLeftBorderColorWhenHasState
- Specified by:
getLeftBorderColorWhenHasStatein interfaceBorderStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
getLeftBorderThicknessWhenHasState
- Specified by:
getLeftBorderThicknessWhenHasStatein interfaceBorderStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
getHeightForState
- Specified by:
getHeightForStatein interfaceSizeStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
getLeftPaddingWhenHasState
- Specified by:
getLeftPaddingWhenHasStatein interfacePaddingStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
getRightBorderColorWhenHasState
- Specified by:
getRightBorderColorWhenHasStatein interfaceBorderStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
getRightBorderThicknessWhenHasState
- Specified by:
getRightBorderThicknessWhenHasStatein interfaceBorderStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
getRightPaddingWhenHasState
- Specified by:
getRightPaddingWhenHasStatein interfacePaddingStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
getTopBorderColorWhenHasState
- Specified by:
getTopBorderColorWhenHasStatein interfaceBorderStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
getTopBorderThicknessWhenHasState
- Specified by:
getTopBorderThicknessWhenHasStatein interfaceBorderStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
getTopPaddingWhenHasState
- Specified by:
getTopPaddingWhenHasStatein interfacePaddingStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
getWidthForState
- Specified by:
getWidthForStatein interfaceSizeStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
removeCustomBackgrounds
public final void removeCustomBackgrounds()- Specified by:
removeCustomBackgroundsin interfaceBackgroundStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
removeCustomBorderColors
public final void removeCustomBorderColors()- Specified by:
removeCustomBorderColorsin interfaceBorderStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
removeCustomBorderThicknesses
public final void removeCustomBorderThicknesses()- Specified by:
removeCustomBorderThicknessesin interfaceBorderStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
removeCustomBottomBorderColors
public final void removeCustomBottomBorderColors()- Specified by:
removeCustomBottomBorderColorsin interfaceBorderStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
removeCustomBottomBorderThicknesses
public final void removeCustomBottomBorderThicknesses()- Specified by:
removeCustomBottomBorderThicknessesin interfaceBorderStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
removeCustomBottomPaddings
public final void removeCustomBottomPaddings()- Specified by:
removeCustomBottomPaddingsin interfacePaddingStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
removeCustomCornerRadiuses
public final void removeCustomCornerRadiuses()- Specified by:
removeCustomCornerRadiusesin interfaceCornerStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
removeCustomCornerShadows
public final void removeCustomCornerShadows()- Specified by:
removeCustomCornerShadowsin interfaceShadowStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
removeCustomHeights
public final void removeCustomHeights()- Specified by:
removeCustomHeightsin interfaceSizeStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
removeCustomLeftBorderColors
public final void removeCustomLeftBorderColors()- Specified by:
removeCustomLeftBorderColorsin interfaceBorderStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
removeCustomLeftBorderThicknesses
public final void removeCustomLeftBorderThicknesses()- Specified by:
removeCustomLeftBorderThicknessesin interfaceBorderStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
removeCustomLeftPaddings
public final void removeCustomLeftPaddings()- Specified by:
removeCustomLeftPaddingsin interfacePaddingStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
removeCustomPaddings
public final void removeCustomPaddings()- Specified by:
removeCustomPaddingsin interfacePaddingStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
removeCustomRightBorderColors
public final void removeCustomRightBorderColors()- Specified by:
removeCustomRightBorderColorsin interfaceBorderStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
removeCustomRightBorderThicknesses
public final void removeCustomRightBorderThicknesses()- Specified by:
removeCustomRightBorderThicknessesin interfaceBorderStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
removeCustomRightPaddings
public final void removeCustomRightPaddings()- Specified by:
removeCustomRightPaddingsin interfacePaddingStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
removeCustomTopBorderColors
public final void removeCustomTopBorderColors()- Specified by:
removeCustomTopBorderColorsin interfaceBorderStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
removeCustomTopBorderThicknesses
public final void removeCustomTopBorderThicknesses()- Specified by:
removeCustomTopBorderThicknessesin interfaceBorderStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
removeCustomTopPaddings
public final void removeCustomTopPaddings()- Specified by:
removeCustomTopPaddingsin interfacePaddingStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
removeCustomWidths
public final void removeCustomWidths()- Specified by:
removeCustomWidthsin interfaceSizeStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
forStateSetBackgroundColor
- Specified by:
forStateSetBackgroundColorin interfaceBackgroundStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
forStateSetBackgroundColorGradient
public final S forStateSetBackgroundColorGradient(ControlState state, IColorGradient backgroundColorGradient) - Specified by:
forStateSetBackgroundColorGradientin interfaceBackgroundStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
forStateSetBackground
- Specified by:
forStateSetBackgroundin interfaceBackgroundStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
forStateSetBackgroundImage
public final S forStateSetBackgroundImage(ControlState state, Image backgroundImage, ImageApplication imageApplication) - Specified by:
forStateSetBackgroundImagein interfaceBackgroundStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
forStateSetBorderColor
- Specified by:
forStateSetBorderColorin interfaceBorderStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
forStateSetBorderThickness
- Specified by:
forStateSetBorderThicknessin interfaceBorderStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
forStateSetBottomBorderColor
- Specified by:
forStateSetBottomBorderColorin interfaceBorderStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
forStateSetBottomBorderThickness
- Specified by:
forStateSetBottomBorderThicknessin interfaceBorderStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
forStateSetBottomPadding
- Specified by:
forStateSetBottomPaddingin interfacePaddingStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
forStateSetCornerRadius
- Specified by:
forStateSetCornerRadiusin interfaceCornerStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
forStateSetCornerShadow
- Specified by:
forStateSetCornerShadowin interfaceShadowStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
forStateSetCornerShadows
public final S forStateSetCornerShadows(ControlState state, ExtendedIterable<? extends ICornerShadow> cornerShadows) - Specified by:
forStateSetCornerShadowsin interfaceShadowStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
forStateSetCornerShadows
- Specified by:
forStateSetCornerShadowsin interfaceShadowStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
forStateSetHeight
- Specified by:
forStateSetHeightin interfaceSizeStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
forStateSetHeightInPercentOfViewArea
public final S forStateSetHeightInPercentOfViewArea(ControlState state, double heightInPercentOfViewAreaHeight) - Specified by:
forStateSetHeightInPercentOfViewAreain interfaceSizeStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
forStateSetLeftBorderColor
- Specified by:
forStateSetLeftBorderColorin interfaceBorderStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
forStateSetLeftBorderThickness
- Specified by:
forStateSetLeftBorderThicknessin interfaceBorderStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
forStateSetLeftPadding
- Specified by:
forStateSetLeftPaddingin interfacePaddingStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
forStateSetPadding
- Specified by:
forStateSetPaddingin interfacePaddingStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
forStateSetRightBorderColor
- Specified by:
forStateSetRightBorderColorin interfaceBorderStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
forStateSetRightBorderThickness
- Specified by:
forStateSetRightBorderThicknessin interfaceBorderStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
forStateSetRightPadding
- Specified by:
forStateSetRightPaddingin interfacePaddingStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
forStateSetTopBorderColor
- Specified by:
forStateSetTopBorderColorin interfaceBorderStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
forStateSetTopBorderThickness
- Specified by:
forStateSetTopBorderThicknessin interfaceBorderStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
forStateSetTopPadding
- Specified by:
forStateSetTopPaddingin interfacePaddingStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
forStateSetWidth
- Specified by:
forStateSetWidthin interfaceSizeStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
forStateSetWidthInPercentOfViewAreaWidth
public final S forStateSetWidthInPercentOfViewAreaWidth(ControlState state, double widthInPercentOfViewAreaWidth) - Specified by:
forStateSetWidthInPercentOfViewAreaWidthin interfaceSizeStyle<S extends ControlStyle<S> & MultiStateConfiguration<S, ControlState>>
-
definesTextLineDecorationForState
- Specified by:
definesTextLineDecorationForStatein interfaceControlBaseStyle<C extends ControlBaseStyle<C>>
-
getBoldTextFlagWhenHasState
- Specified by:
getBoldTextFlagWhenHasStatein interfaceControlBaseStyle<C extends ControlBaseStyle<C>>
-
getFontWhenHasState
- Specified by:
getFontWhenHasStatein interfaceControlBaseStyle<C extends ControlBaseStyle<C>>
-
getOpacityWhenHasState
- Specified by:
getOpacityWhenHasStatein interfaceControlBaseStyle<C extends ControlBaseStyle<C>>
-
getTextColorWhenHasState
- Specified by:
getTextColorWhenHasStatein interfaceControlBaseStyle<C extends ControlBaseStyle<C>>
-
getTextLineDecorationWhenHasState
- Specified by:
getTextLineDecorationWhenHasStatein interfaceControlBaseStyle<C extends ControlBaseStyle<C>>
-
getTextSizeWhenHasState
- Specified by:
getTextSizeWhenHasStatein interfaceControlBaseStyle<C extends ControlBaseStyle<C>>
-
removeCustomBoldTextFlags
public final void removeCustomBoldTextFlags()- Specified by:
removeCustomBoldTextFlagsin interfaceControlBaseStyle<C extends ControlBaseStyle<C>>
-
removeCustomFonts
public final void removeCustomFonts()- Specified by:
removeCustomFontsin interfaceControlBaseStyle<C extends ControlBaseStyle<C>>
-
removeCustomOpacities
public final void removeCustomOpacities()- Specified by:
removeCustomOpacitiesin interfaceControlBaseStyle<C extends ControlBaseStyle<C>>
-
removeCustomTextColors
public final void removeCustomTextColors()- Specified by:
removeCustomTextColorsin interfaceControlBaseStyle<C extends ControlBaseStyle<C>>
-
removeCustomTextLineDecorations
public void removeCustomTextLineDecorations()- Specified by:
removeCustomTextLineDecorationsin interfaceControlBaseStyle<C extends ControlBaseStyle<C>>
-
removeCustomTextSizes
public final void removeCustomTextSizes()- Specified by:
removeCustomTextSizesin interfaceControlBaseStyle<C extends ControlBaseStyle<C>>
-
forStateSetBoldTextFlag
- Specified by:
forStateSetBoldTextFlagin interfaceControlBaseStyle<C extends ControlBaseStyle<C>>
-
forStateSetFont
- Specified by:
forStateSetFontin interfaceControlBaseStyle<C extends ControlBaseStyle<C>>
-
forStateSetOpacity
- Specified by:
forStateSetOpacityin interfaceControlBaseStyle<C extends ControlBaseStyle<C>>
-
forStateSetTextColor
- Specified by:
forStateSetTextColorin interfaceControlBaseStyle<C extends ControlBaseStyle<C>>
-
forStateSetTextLineDecoration
- Specified by:
forStateSetTextLineDecorationin interfaceControlBaseStyle<C extends ControlBaseStyle<C>>
-
forStateSetTextSize
- Specified by:
forStateSetTextSizein interfaceControlBaseStyle<C extends ControlBaseStyle<C>>
-