Klasse ComponentStyle
java.lang.Object
ch.nolix.system.element.base.AbstractElement
ch.nolix.system.element.multistateconfiguration.AbstractMultiStateConfiguration<IComponentStyle, ControlState>
ch.nolix.system.webgui.controlstyle.AbstractControlStyle<IComponentStyle>
ch.nolix.system.webapplication.component.ComponentStyle
- Alle implementierten Schnittstellen:
Resettable, IElement, IMultiStateConfiguration<IComponentStyle, ControlState>, IMutableElement, IRespondingMutableElement<IComponentStyle>, IComponentStyle, IBackgroundStyle<IComponentStyle>, IBorderStyle<IComponentStyle>, IControlBaseStyle<IComponentStyle>, IControlStyle<IComponentStyle>, ICornerStyle<IComponentStyle>, IPaddingStyle<IComponentStyle>, IShadowStyle<IComponentStyle>, ISizeStyle<IComponentStyle>
public final class ComponentStyle
extends AbstractControlStyle<IComponentStyle>
implements IComponentStyle
- Autor:
- Silvan Wyss
-
Feldübersicht
FelderModifikator und TypFeldBeschreibungstatic final intstatic final booleanstatic final Fontstatic final doublestatic final Colorstatic final LineDecorationVon Klasse geerbte Felder AbstractControlStyle
DEFAULT_BACKGROUND, DEFAULT_BORDER_COLOR, DEFAULT_BORDER_THICKNESS, DEFAULT_CORNER_RADIUS, DEFAULT_PADDING -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifikator und TypMethodeBeschreibungfinal <C2 extends IControlBaseStyle<C2>>
voidaddChild(C2 controlStyle) booleanfinal IComponentStyleforStateSetBoldTextFlag(ControlState state, boolean boldTextFlag) final IComponentStyleforStateSetFont(ControlState state, Font font) final IComponentStyleforStateSetOpacity(ControlState state, double opacity) final IComponentStyleforStateSetTextColor(ControlState state, IColor textColor) forStateSetTextLineDecoration(ControlState state, LineDecoration textLineDecoration) final IComponentStyleforStateSetTextSize(ControlState state, int textSize) final booleanfinal FontgetFontWhenHasState(ControlState state) final doublefinal IColorfinal intfinal voidfinal voidfinal voidfinal voidvoidfinal voidVon Klasse geerbte Methoden AbstractControlStyle
definesHeightForState, definesWidthForState, forStateSetBackground, forStateSetBackgroundColor, forStateSetBackgroundColorGradient, forStateSetBackgroundImage, forStateSetBorderColor, forStateSetBorderThickness, forStateSetBottomBorderColor, forStateSetBottomBorderThickness, forStateSetBottomPadding, forStateSetCornerRadius, forStateSetCornerShadow, forStateSetCornerShadows, forStateSetHeight, forStateSetHeightInPercentOfViewArea, forStateSetLeftBorderColor, forStateSetLeftBorderThickness, forStateSetLeftPadding, forStateSetPadding, forStateSetRightBorderColor, forStateSetRightBorderThickness, forStateSetRightPadding, forStateSetTopBorderColor, forStateSetTopBorderThickness, forStateSetTopPadding, forStateSetWidth, forStateSetWidthInPercentOfViewAreaWidth, getBackgroundWhenHasState, getBottomBorderColorWhenHasState, getBottomBorderThicknessWhenHasState, getBottomPaddingWhenHasState, getCornerRadiusWhenHasState, getCornerShadowsWhenHasState, getHeightForState, getLeftBorderColorWhenHasState, getLeftBorderThicknessWhenHasState, getLeftPaddingWhenHasState, getRightBorderColorWhenHasState, getRightBorderThicknessWhenHasState, getRightPaddingWhenHasState, getTopBorderColorWhenHasState, getTopBorderThicknessWhenHasState, getTopPaddingWhenHasState, getWidthForState, removeCustomBackgrounds, removeCustomBorderColors, removeCustomBorderThicknesses, removeCustomBottomBorderColors, removeCustomBottomBorderThicknesses, removeCustomBottomPaddings, removeCustomCornerRadiuses, removeCustomCornerShadows, removeCustomHeights, removeCustomLeftBorderColors, removeCustomLeftBorderThicknesses, removeCustomLeftPaddings, removeCustomPaddings, removeCustomRightBorderColors, removeCustomRightBorderThicknesses, removeCustomRightPaddings, removeCustomTopBorderColors, removeCustomTopBorderThicknesses, removeCustomTopPaddings, removeCustomWidthsVon Klasse geerbte Methoden AbstractMultiStateConfiguration
addedOrChangedAttribute, addOrChangeAttribute, addOrChangeAttribute, asConcrete, getAttributes, getBaseState, initialize, internalAddChild, reset, setFromVon Klasse geerbte Methoden AbstractElement
equals, getSpecification, hashCode, toStringVon Schnittstelle geerbte Methoden IBackgroundStyle
forStateSetBackground, forStateSetBackgroundColor, forStateSetBackgroundColorGradient, forStateSetBackgroundImage, getBackgroundWhenHasState, removeCustomBackgroundsVon Schnittstelle geerbte Methoden IBorderStyle
forStateSetBorderColor, forStateSetBorderThickness, forStateSetBottomBorderColor, forStateSetBottomBorderThickness, forStateSetLeftBorderColor, forStateSetLeftBorderThickness, forStateSetRightBorderColor, forStateSetRightBorderThickness, forStateSetTopBorderColor, forStateSetTopBorderThickness, getBottomBorderColorWhenHasState, getBottomBorderThicknessWhenHasState, getLeftBorderColorWhenHasState, getLeftBorderThicknessWhenHasState, getRightBorderColorWhenHasState, getRightBorderThicknessWhenHasState, getTopBorderColorWhenHasState, getTopBorderThicknessWhenHasState, removeCustomBorderColors, removeCustomBorderThicknesses, removeCustomBottomBorderColors, removeCustomBottomBorderThicknesses, removeCustomLeftBorderColors, removeCustomLeftBorderThicknesses, removeCustomRightBorderColors, removeCustomRightBorderThicknesses, removeCustomTopBorderColors, removeCustomTopBorderThicknessesVon Schnittstelle geerbte Methoden IControlBaseStyle
addChild, definesTextLineDecorationForState, forStateSetBoldTextFlag, forStateSetFont, forStateSetOpacity, forStateSetTextColor, forStateSetTextLineDecoration, forStateSetTextSize, getBoldTextFlagWhenHasState, getFontWhenHasState, getOpacityWhenHasState, getTextColorWhenHasState, getTextLineDecorationWhenHasState, getTextSizeWhenHasState, removeCustomBoldTextFlags, removeCustomFonts, removeCustomOpacities, removeCustomTextColors, removeCustomTextLineDecorations, removeCustomTextSizesVon Schnittstelle geerbte Methoden ICornerStyle
forStateSetCornerRadius, getCornerRadiusWhenHasState, removeCustomCornerRadiusesVon Schnittstelle geerbte Methoden IElement
getAttributes, getSpecification, toFormatedString, toXmlVon Schnittstelle geerbte Methoden IMultiStateConfiguration
getBaseStateVon Schnittstelle geerbte Methoden IMutableElement
addOrChangeAttribute, addOrChangeAttribute, addOrChangeAttribute, addOrChangeAttributes, resetFromAttributes, resetFromSpecificationVon Schnittstelle geerbte Methoden IPaddingStyle
forStateSetBottomPadding, forStateSetLeftPadding, forStateSetPadding, forStateSetRightPadding, forStateSetTopPadding, getBottomPaddingWhenHasState, getLeftPaddingWhenHasState, getRightPaddingWhenHasState, getTopPaddingWhenHasState, removeCustomBottomPaddings, removeCustomLeftPaddings, removeCustomPaddings, removeCustomRightPaddings, removeCustomTopPaddingsVon Schnittstelle geerbte Methoden IRespondingMutableElement
addedOrChangedAttributeVon Schnittstelle geerbte Methoden IShadowStyle
forStateSetCornerShadow, forStateSetCornerShadows, getCornerShadowsWhenHasState, removeCustomCornerShadowsVon Schnittstelle geerbte Methoden ISizeStyle
definesHeightForState, definesWidthForState, forStateSetHeight, forStateSetHeightInPercentOfViewArea, forStateSetWidth, forStateSetWidthInPercentOfViewAreaWidth, getHeightForState, getWidthForState, removeCustomHeights, removeCustomWidthsVon Schnittstelle geerbte Methoden Resettable
reset
-
Felddetails
-
DEFAULT_OPACITY
public static final double DEFAULT_OPACITY- Siehe auch:
-
DEFAULT_FONT
-
DEFAULT_BOLD_TEXT_FLAG
public static final boolean DEFAULT_BOLD_TEXT_FLAG- Siehe auch:
-
DEAULT_TEXT_SIZE
public static final int DEAULT_TEXT_SIZE- Siehe auch:
-
DEFAULT_TEXT_LINE_DECORATION
-
DEFAULT_TEXT_COLOR
-
-
Konstruktordetails
-
ComponentStyle
public ComponentStyle()
-
-
Methodendetails
-
addChild
- Angegeben von:
addChildin SchnittstelleIControlBaseStyle<C extends IControlBaseStyle<C>>
-
definesTextLineDecorationForState
- Angegeben von:
definesTextLineDecorationForStatein SchnittstelleIControlBaseStyle<C extends IControlBaseStyle<C>>
-
getBoldTextFlagWhenHasState
- Angegeben von:
getBoldTextFlagWhenHasStatein SchnittstelleIControlBaseStyle<C extends IControlBaseStyle<C>>
-
getFontWhenHasState
- Angegeben von:
getFontWhenHasStatein SchnittstelleIControlBaseStyle<C extends IControlBaseStyle<C>>
-
getOpacityWhenHasState
- Angegeben von:
getOpacityWhenHasStatein SchnittstelleIControlBaseStyle<C extends IControlBaseStyle<C>>
-
getTextColorWhenHasState
- Angegeben von:
getTextColorWhenHasStatein SchnittstelleIControlBaseStyle<C extends IControlBaseStyle<C>>
-
getTextLineDecorationWhenHasState
- Angegeben von:
getTextLineDecorationWhenHasStatein SchnittstelleIControlBaseStyle<C extends IControlBaseStyle<C>>
-
getTextSizeWhenHasState
- Angegeben von:
getTextSizeWhenHasStatein SchnittstelleIControlBaseStyle<C extends IControlBaseStyle<C>>
-
removeCustomBoldTextFlags
public final void removeCustomBoldTextFlags()- Angegeben von:
removeCustomBoldTextFlagsin SchnittstelleIControlBaseStyle<C extends IControlBaseStyle<C>>
-
removeCustomFonts
public final void removeCustomFonts()- Angegeben von:
removeCustomFontsin SchnittstelleIControlBaseStyle<C extends IControlBaseStyle<C>>
-
removeCustomOpacities
public final void removeCustomOpacities()- Angegeben von:
removeCustomOpacitiesin SchnittstelleIControlBaseStyle<C extends IControlBaseStyle<C>>
-
removeCustomTextColors
public final void removeCustomTextColors()- Angegeben von:
removeCustomTextColorsin SchnittstelleIControlBaseStyle<C extends IControlBaseStyle<C>>
-
removeCustomTextLineDecorations
public void removeCustomTextLineDecorations()- Angegeben von:
removeCustomTextLineDecorationsin SchnittstelleIControlBaseStyle<C extends IControlBaseStyle<C>>
-
removeCustomTextSizes
public final void removeCustomTextSizes()- Angegeben von:
removeCustomTextSizesin SchnittstelleIControlBaseStyle<C extends IControlBaseStyle<C>>
-
forStateSetBoldTextFlag
- Angegeben von:
forStateSetBoldTextFlagin SchnittstelleIControlBaseStyle<C extends IControlBaseStyle<C>>
-
forStateSetFont
- Angegeben von:
forStateSetFontin SchnittstelleIControlBaseStyle<C extends IControlBaseStyle<C>>
-
forStateSetOpacity
- Angegeben von:
forStateSetOpacityin SchnittstelleIControlBaseStyle<C extends IControlBaseStyle<C>>
-
forStateSetTextColor
- Angegeben von:
forStateSetTextColorin SchnittstelleIControlBaseStyle<C extends IControlBaseStyle<C>>
-
forStateSetTextLineDecoration
public IComponentStyle forStateSetTextLineDecoration(ControlState state, LineDecoration textLineDecoration) - Angegeben von:
forStateSetTextLineDecorationin SchnittstelleIControlBaseStyle<C extends IControlBaseStyle<C>>
-
forStateSetTextSize
- Angegeben von:
forStateSetTextSizein SchnittstelleIControlBaseStyle<C extends IControlBaseStyle<C>>
-