Klasse ControlStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,ControlState>>
java.lang.Object
ch.nolix.system.element.base.Element
ch.nolix.system.element.multistateconfiguration.MultiStateConfiguration<ECS,ControlState>
ch.nolix.system.webgui.controlstyle.ControlStyle<ECS>
- Alle implementierten Schnittstellen:
Resettable
,IElement
,IMultiStateConfiguration<ECS,
,ControlState> IMutableElement
,IRespondingMutableElement<ECS>
,IBackgroundStyle<ECS>
,IBorderStyle<ECS>
,IControlHeadStyle<ECS>
,IControlStyle<ECS>
,IPaddingStyle<ECS>
,ISizeStyle<ECS>
- Bekannte direkte Unterklassen:
BaseComponentStyle
,ButtonStyle
,GridStyle
,ImageControlStyle
,ItemMenuStyle
,LabelStyle
,LinearContainerStyle
,LinkStyle
,SingleContainerStyle
,TextboxStyle
,UploaderStyle
,ValidationLabelStyle
public abstract class ControlStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,ControlState>>
extends MultiStateConfiguration<ECS,ControlState>
implements IControlStyle<ECS>
-
Feldübersicht
Modifizierer und TypFeldBeschreibungstatic final int
static final IBackground
static final boolean
static final IColor
static final int
static final Font
static final double
static final int
static final Color
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfinal <CS2 extends IControlHeadStyle<CS2>>
voidaddChild
(CS2 controlStyle) final boolean
final boolean
definesWidthForState
(ControlState state) final IBackground
final boolean
final IColor
final int
final int
final Font
getFontWhenHasState
(ControlState state) final IAbsoluteOrRelativeInt
getHeightForState
(ControlState state) final IColor
final int
final int
final double
final IColor
final int
final int
final IColor
final int
final IColor
final int
final int
final IAbsoluteOrRelativeInt
getWidthForState
(ControlState state) final void
final void
final void
final void
final void
final void
final void
final void
final void
final void
final void
final void
final void
final void
final void
final void
final void
final void
final void
final void
final void
final void
final void
final ECS
setBackgroundColorForState
(ControlState state, IColor backgroundColor) final ECS
setBackgroundColorGradientForState
(ControlState state, IColorGradient backgroundColorGradient) final ECS
setBackgroundForState
(ControlState state, IBackground background) final ECS
setBackgroundImageForState
(ControlState state, IImage backgroundImage, ImageApplication imageApplication) final ECS
setBoldTextFlagForState
(ControlState state, boolean boldTextFlag) final ECS
setBorderColorForState
(ControlState state, IColor borderColor) final ECS
setBorderThicknessForState
(ControlState state, int borderThickness) final ECS
setBottomBorderColorForState
(ControlState state, IColor bottomBorderColor) final ECS
setBottomBorderThicknessForState
(ControlState state, int bottomBorderThickness) final ECS
setBottomPaddingForState
(ControlState state, int bottomPadding) final ECS
setFontForState
(ControlState state, Font font) final ECS
setHeightForState
(ControlState state, int height) final ECS
setHeightInPercentOfViewAreaForState
(ControlState state, double heightInPercentOfViewAreaHeight) final ECS
setLeftBorderColorForState
(ControlState state, IColor leftBorderColor) final ECS
setLeftBorderThicknessForState
(ControlState state, int leftBorderThickness) final ECS
setLeftPaddingForState
(ControlState state, int leftPadding) final ECS
setOpacityForState
(ControlState state, double opacity) final ECS
setPaddingForState
(ControlState state, int padding) final ECS
setRightBorderColorForState
(ControlState state, IColor rightBorderColor) final ECS
setRightBorderThicknessForState
(ControlState state, int rightBorderThickness) final ECS
setRightPaddingForState
(ControlState state, int rightPadding) final ECS
setTextColorForState
(ControlState state, IColor textColor) final ECS
setTextSizeForState
(ControlState state, int textSize) final ECS
setTopBorderColorForState
(ControlState state, IColor topBorderColor) final ECS
setTopBorderThicknessForState
(ControlState state, int topBorderThickness) final ECS
setTopPaddingForState
(ControlState state, int topPadding) final ECS
setWidthForState
(ControlState state, int width) setWidthInPercentOfViewAreaWidthForState
(ControlState state, double widthInPercentOfViewAreaWidth) Von Klasse geerbte Methoden ch.nolix.system.element.multistateconfiguration.MultiStateConfiguration
addedOrChangedAttribute, addOrChangeAttribute, addOrChangeAttribute, asConcrete, getAttributes, getBaseState, initialize, internalAddChild, reset, setFrom
Von Klasse geerbte Methoden ch.nolix.system.element.base.Element
equals, getSpecification, hashCode, toString
Von Klasse geerbte Methoden java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.webguiapi.controlstyleapi.IControlHeadStyle
addChild, getBoldTextFlagWhenHasState, getFontWhenHasState, getOpacityWhenHasState, getTextColorWhenHasState, getTextSizeWhenHasState, removeCustomBoldTextFlags, removeCustomFonts, removeCustomOpacities, removeCustomTextColors, removeCustomTextSizes, setBoldTextFlagForState, setFontForState, setOpacityForState, setTextColorForState, setTextSizeForState
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.elementapi.baseapi.IElement
getAttributes, getSpecification, toFormatedString, toXml
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.elementapi.multistateconfigurationapi.IMultiStateConfiguration
getBaseState
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.elementapi.mutableelementapi.IMutableElement
addOrChangeAttribute, addOrChangeAttribute, addOrChangeAttribute, addOrChangeAttributes, resetFromAttributes, resetFromSpecification
Von Schnittstelle geerbte Methoden ch.nolix.systemapi.elementapi.mutableelementapi.IRespondingMutableElement
addedOrChangedAttribute
Von Schnittstelle geerbte Methoden ch.nolix.coreapi.stateapi.statemutationapi.Resettable
reset
-
Felddetails
-
DEFAULT_BORDER_THICKNESS
public static final int DEFAULT_BORDER_THICKNESS- Siehe auch:
-
DEFAULT_BORDER_COLOR
-
DEFAULT_BACKGROUND
-
DEFAULT_PADDING
public static final int DEFAULT_PADDING- Siehe auch:
-
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_COLOR
-
-
Konstruktordetails
-
ControlStyle
public ControlStyle()
-
-
Methodendetails
-
definesHeightForState
- Angegeben von:
definesHeightForState
in SchnittstelleISizeStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
definesWidthForState
- Angegeben von:
definesWidthForState
in SchnittstelleISizeStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
getBackgroundWhenHasState
- Angegeben von:
getBackgroundWhenHasState
in SchnittstelleIBackgroundStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
getBottomBorderColorWhenHasState
- Angegeben von:
getBottomBorderColorWhenHasState
in SchnittstelleIBorderStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
getBottomBorderThicknessWhenHasState
- Angegeben von:
getBottomBorderThicknessWhenHasState
in SchnittstelleIBorderStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
getBottomPaddingWhenHasState
- Angegeben von:
getBottomPaddingWhenHasState
in SchnittstelleIPaddingStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
getLeftBorderColorWhenHasState
- Angegeben von:
getLeftBorderColorWhenHasState
in SchnittstelleIBorderStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
getLeftBorderThicknessWhenHasState
- Angegeben von:
getLeftBorderThicknessWhenHasState
in SchnittstelleIBorderStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
getHeightForState
- Angegeben von:
getHeightForState
in SchnittstelleISizeStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
getLeftPaddingWhenHasState
- Angegeben von:
getLeftPaddingWhenHasState
in SchnittstelleIPaddingStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
getRightBorderColorWhenHasState
- Angegeben von:
getRightBorderColorWhenHasState
in SchnittstelleIBorderStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
getRightBorderThicknessWhenHasState
- Angegeben von:
getRightBorderThicknessWhenHasState
in SchnittstelleIBorderStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
getRightPaddingWhenHasState
- Angegeben von:
getRightPaddingWhenHasState
in SchnittstelleIPaddingStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
getTopBorderColorWhenHasState
- Angegeben von:
getTopBorderColorWhenHasState
in SchnittstelleIBorderStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
getTopBorderThicknessWhenHasState
- Angegeben von:
getTopBorderThicknessWhenHasState
in SchnittstelleIBorderStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
getTopPaddingWhenHasState
- Angegeben von:
getTopPaddingWhenHasState
in SchnittstelleIPaddingStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
getWidthForState
- Angegeben von:
getWidthForState
in SchnittstelleISizeStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
removeCustomBackgrounds
public final void removeCustomBackgrounds()- Angegeben von:
removeCustomBackgrounds
in SchnittstelleIBackgroundStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
removeCustomBorderColors
public final void removeCustomBorderColors()- Angegeben von:
removeCustomBorderColors
in SchnittstelleIBorderStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
removeCustomBorderThicknesses
public final void removeCustomBorderThicknesses()- Angegeben von:
removeCustomBorderThicknesses
in SchnittstelleIBorderStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
removeCustomBottomBorderColors
public final void removeCustomBottomBorderColors()- Angegeben von:
removeCustomBottomBorderColors
in SchnittstelleIBorderStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
removeCustomBottomBorderThicknesses
public final void removeCustomBottomBorderThicknesses()- Angegeben von:
removeCustomBottomBorderThicknesses
in SchnittstelleIBorderStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
removeCustomBottomPaddings
public final void removeCustomBottomPaddings()- Angegeben von:
removeCustomBottomPaddings
in SchnittstelleIPaddingStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
removeCustomHeights
public final void removeCustomHeights()- Angegeben von:
removeCustomHeights
in SchnittstelleISizeStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
removeCustomLeftBorderColors
public final void removeCustomLeftBorderColors()- Angegeben von:
removeCustomLeftBorderColors
in SchnittstelleIBorderStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
removeCustomLeftBorderThicknesses
public final void removeCustomLeftBorderThicknesses()- Angegeben von:
removeCustomLeftBorderThicknesses
in SchnittstelleIBorderStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
removeCustomLeftPaddings
public final void removeCustomLeftPaddings()- Angegeben von:
removeCustomLeftPaddings
in SchnittstelleIPaddingStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
removeCustomPaddings
public final void removeCustomPaddings()- Angegeben von:
removeCustomPaddings
in SchnittstelleIPaddingStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
removeCustomRightBorderColors
public final void removeCustomRightBorderColors()- Angegeben von:
removeCustomRightBorderColors
in SchnittstelleIBorderStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
removeCustomRightBorderThicknesses
public final void removeCustomRightBorderThicknesses()- Angegeben von:
removeCustomRightBorderThicknesses
in SchnittstelleIBorderStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
removeCustomRightPaddings
public final void removeCustomRightPaddings()- Angegeben von:
removeCustomRightPaddings
in SchnittstelleIPaddingStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
removeCustomTopBorderColors
public final void removeCustomTopBorderColors()- Angegeben von:
removeCustomTopBorderColors
in SchnittstelleIBorderStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
removeCustomTopBorderThicknesses
public final void removeCustomTopBorderThicknesses()- Angegeben von:
removeCustomTopBorderThicknesses
in SchnittstelleIBorderStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
removeCustomTopPaddings
public final void removeCustomTopPaddings()- Angegeben von:
removeCustomTopPaddings
in SchnittstelleIPaddingStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
removeCustomWidths
public final void removeCustomWidths()- Angegeben von:
removeCustomWidths
in SchnittstelleISizeStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
setBackgroundColorForState
- Angegeben von:
setBackgroundColorForState
in SchnittstelleIBackgroundStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
setBackgroundColorGradientForState
public final ECS setBackgroundColorGradientForState(ControlState state, IColorGradient backgroundColorGradient) - Angegeben von:
setBackgroundColorGradientForState
in SchnittstelleIBackgroundStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
setBackgroundForState
- Angegeben von:
setBackgroundForState
in SchnittstelleIBackgroundStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
setBackgroundImageForState
public final ECS setBackgroundImageForState(ControlState state, IImage backgroundImage, ImageApplication imageApplication) - Angegeben von:
setBackgroundImageForState
in SchnittstelleIBackgroundStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
setBorderColorForState
- Angegeben von:
setBorderColorForState
in SchnittstelleIBorderStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
setBorderThicknessForState
- Angegeben von:
setBorderThicknessForState
in SchnittstelleIBorderStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
setBottomBorderColorForState
- Angegeben von:
setBottomBorderColorForState
in SchnittstelleIBorderStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
setBottomBorderThicknessForState
- Angegeben von:
setBottomBorderThicknessForState
in SchnittstelleIBorderStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
setBottomPaddingForState
- Angegeben von:
setBottomPaddingForState
in SchnittstelleIPaddingStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
setHeightForState
- Angegeben von:
setHeightForState
in SchnittstelleISizeStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
setHeightInPercentOfViewAreaForState
public final ECS setHeightInPercentOfViewAreaForState(ControlState state, double heightInPercentOfViewAreaHeight) - Angegeben von:
setHeightInPercentOfViewAreaForState
in SchnittstelleISizeStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
setLeftBorderColorForState
- Angegeben von:
setLeftBorderColorForState
in SchnittstelleIBorderStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
setLeftBorderThicknessForState
- Angegeben von:
setLeftBorderThicknessForState
in SchnittstelleIBorderStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
setLeftPaddingForState
- Angegeben von:
setLeftPaddingForState
in SchnittstelleIPaddingStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
setPaddingForState
- Angegeben von:
setPaddingForState
in SchnittstelleIPaddingStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
setRightBorderColorForState
- Angegeben von:
setRightBorderColorForState
in SchnittstelleIBorderStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
setRightBorderThicknessForState
- Angegeben von:
setRightBorderThicknessForState
in SchnittstelleIBorderStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
setRightPaddingForState
- Angegeben von:
setRightPaddingForState
in SchnittstelleIPaddingStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
setTopBorderColorForState
- Angegeben von:
setTopBorderColorForState
in SchnittstelleIBorderStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
setTopBorderThicknessForState
- Angegeben von:
setTopBorderThicknessForState
in SchnittstelleIBorderStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
setTopPaddingForState
- Angegeben von:
setTopPaddingForState
in SchnittstelleIPaddingStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
setWidthForState
- Angegeben von:
setWidthForState
in SchnittstelleISizeStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
setWidthInPercentOfViewAreaWidthForState
public ECS setWidthInPercentOfViewAreaWidthForState(ControlState state, double widthInPercentOfViewAreaWidth) - Angegeben von:
setWidthInPercentOfViewAreaWidthForState
in SchnittstelleISizeStyle<ECS extends IControlStyle<ECS> & IMultiStateConfiguration<ECS,
ControlState>>
-
addChild
- Angegeben von:
addChild
in SchnittstelleIControlHeadStyle<CS extends IControlHeadStyle<CS>>
-
getBoldTextFlagWhenHasState
- Angegeben von:
getBoldTextFlagWhenHasState
in SchnittstelleIControlHeadStyle<CS extends IControlHeadStyle<CS>>
-
getFontWhenHasState
- Angegeben von:
getFontWhenHasState
in SchnittstelleIControlHeadStyle<CS extends IControlHeadStyle<CS>>
-
getOpacityWhenHasState
- Angegeben von:
getOpacityWhenHasState
in SchnittstelleIControlHeadStyle<CS extends IControlHeadStyle<CS>>
-
getTextColorWhenHasState
- Angegeben von:
getTextColorWhenHasState
in SchnittstelleIControlHeadStyle<CS extends IControlHeadStyle<CS>>
-
getTextSizeWhenHasState
- Angegeben von:
getTextSizeWhenHasState
in SchnittstelleIControlHeadStyle<CS extends IControlHeadStyle<CS>>
-
removeCustomBoldTextFlags
public final void removeCustomBoldTextFlags()- Angegeben von:
removeCustomBoldTextFlags
in SchnittstelleIControlHeadStyle<CS extends IControlHeadStyle<CS>>
-
removeCustomFonts
public final void removeCustomFonts()- Angegeben von:
removeCustomFonts
in SchnittstelleIControlHeadStyle<CS extends IControlHeadStyle<CS>>
-
removeCustomOpacities
public final void removeCustomOpacities()- Angegeben von:
removeCustomOpacities
in SchnittstelleIControlHeadStyle<CS extends IControlHeadStyle<CS>>
-
removeCustomTextColors
public final void removeCustomTextColors()- Angegeben von:
removeCustomTextColors
in SchnittstelleIControlHeadStyle<CS extends IControlHeadStyle<CS>>
-
removeCustomTextSizes
public final void removeCustomTextSizes()- Angegeben von:
removeCustomTextSizes
in SchnittstelleIControlHeadStyle<CS extends IControlHeadStyle<CS>>
-
setBoldTextFlagForState
- Angegeben von:
setBoldTextFlagForState
in SchnittstelleIControlHeadStyle<CS extends IControlHeadStyle<CS>>
-
setFontForState
- Angegeben von:
setFontForState
in SchnittstelleIControlHeadStyle<CS extends IControlHeadStyle<CS>>
-
setOpacityForState
- Angegeben von:
setOpacityForState
in SchnittstelleIControlHeadStyle<CS extends IControlHeadStyle<CS>>
-
setTextColorForState
- Angegeben von:
setTextColorForState
in SchnittstelleIControlHeadStyle<CS extends IControlHeadStyle<CS>>
-
setTextSizeForState
- Angegeben von:
setTextSizeForState
in SchnittstelleIControlHeadStyle<CS extends IControlHeadStyle<CS>>
-