Klasse ControlStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,ControlState>>
java.lang.Object
ch.nolix.system.element.base.AbstractElement
ch.nolix.system.element.multistateconfiguration.MultiStateConfiguration<S,ControlState>
ch.nolix.system.webgui.controlstyle.ControlStyle<S>
- Alle implementierten Schnittstellen:
Resettable
,IElement
,IMultiStateConfiguration<S,
,ControlState> IMutableElement
,IRespondingMutableElement<S>
,IBackgroundStyle<S>
,IBorderStyle<S>
,IControlHeadStyle<S>
,IControlStyle<S>
,IPaddingStyle<S>
,ISizeStyle<S>
- Bekannte direkte Unterklassen:
BaseComponentStyle
,ButtonStyle
,GridStyle
,ImageControlStyle
,ItemMenuStyle
,LabelStyle
,LinearContainerStyle
,LinkStyle
,SingleContainerStyle
,TextboxStyle
,UploaderStyle
,ValidationLabelStyle
public abstract class ControlStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,ControlState>>
extends MultiStateConfiguration<S,ControlState>
implements IControlStyle<S>
-
Feldübersicht
FelderModifizierer 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
static final LineDecoration
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungfinal <C2 extends IControlHeadStyle<C2>>
voidaddChild
(C2 controlStyle) final boolean
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
void
final void
final void
final void
final void
final void
final S
setBackgroundColorForState
(ControlState state, IColor backgroundColor) final S
setBackgroundColorGradientForState
(ControlState state, IColorGradient backgroundColorGradient) final S
setBackgroundForState
(ControlState state, IBackground background) final S
setBackgroundImageForState
(ControlState state, IImage backgroundImage, ImageApplication imageApplication) final S
setBoldTextFlagForState
(ControlState state, boolean boldTextFlag) final S
setBorderColorForState
(ControlState state, IColor borderColor) final S
setBorderThicknessForState
(ControlState state, int borderThickness) final S
setBottomBorderColorForState
(ControlState state, IColor bottomBorderColor) final S
setBottomBorderThicknessForState
(ControlState state, int bottomBorderThickness) final S
setBottomPaddingForState
(ControlState state, int bottomPadding) final S
setFontForState
(ControlState state, Font font) final S
setHeightForState
(ControlState state, int height) final S
setHeightInPercentOfViewAreaForState
(ControlState state, double heightInPercentOfViewAreaHeight) final S
setLeftBorderColorForState
(ControlState state, IColor leftBorderColor) final S
setLeftBorderThicknessForState
(ControlState state, int leftBorderThickness) final S
setLeftPaddingForState
(ControlState state, int leftPadding) final S
setOpacityForState
(ControlState state, double opacity) final S
setPaddingForState
(ControlState state, int padding) final S
setRightBorderColorForState
(ControlState state, IColor rightBorderColor) final S
setRightBorderThicknessForState
(ControlState state, int rightBorderThickness) final S
setRightPaddingForState
(ControlState state, int rightPadding) final S
setTextColorForState
(ControlState state, IColor textColor) setTextLineDecorationForState
(ControlState state, LineDecoration textLineDecoration) final S
setTextSizeForState
(ControlState state, int textSize) final S
setTopBorderColorForState
(ControlState state, IColor topBorderColor) final S
setTopBorderThicknessForState
(ControlState state, int topBorderThickness) final S
setTopPaddingForState
(ControlState state, int topPadding) final S
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.AbstractElement
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, definesTextLineDecorationForState, getBoldTextFlagWhenHasState, getFontWhenHasState, getOpacityWhenHasState, getTextColorWhenHasState, getTextLineDecorationWhenHasState, getTextSizeWhenHasState, removeCustomBoldTextFlags, removeCustomFonts, removeCustomOpacities, removeCustomTextColors, removeCustomTextLineDecorations, removeCustomTextSizes, setBoldTextFlagForState, setFontForState, setOpacityForState, setTextColorForState, setTextLineDecorationForState, 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_LINE_DECORATION
-
DEFAULT_TEXT_COLOR
-
-
Konstruktordetails
-
ControlStyle
public ControlStyle()
-
-
Methodendetails
-
definesHeightForState
- Angegeben von:
definesHeightForState
in SchnittstelleISizeStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
definesWidthForState
- Angegeben von:
definesWidthForState
in SchnittstelleISizeStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
getBackgroundWhenHasState
- Angegeben von:
getBackgroundWhenHasState
in SchnittstelleIBackgroundStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
getBottomBorderColorWhenHasState
- Angegeben von:
getBottomBorderColorWhenHasState
in SchnittstelleIBorderStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
getBottomBorderThicknessWhenHasState
- Angegeben von:
getBottomBorderThicknessWhenHasState
in SchnittstelleIBorderStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
getBottomPaddingWhenHasState
- Angegeben von:
getBottomPaddingWhenHasState
in SchnittstelleIPaddingStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
getLeftBorderColorWhenHasState
- Angegeben von:
getLeftBorderColorWhenHasState
in SchnittstelleIBorderStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
getLeftBorderThicknessWhenHasState
- Angegeben von:
getLeftBorderThicknessWhenHasState
in SchnittstelleIBorderStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
getHeightForState
- Angegeben von:
getHeightForState
in SchnittstelleISizeStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
getLeftPaddingWhenHasState
- Angegeben von:
getLeftPaddingWhenHasState
in SchnittstelleIPaddingStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
getRightBorderColorWhenHasState
- Angegeben von:
getRightBorderColorWhenHasState
in SchnittstelleIBorderStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
getRightBorderThicknessWhenHasState
- Angegeben von:
getRightBorderThicknessWhenHasState
in SchnittstelleIBorderStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
getRightPaddingWhenHasState
- Angegeben von:
getRightPaddingWhenHasState
in SchnittstelleIPaddingStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
getTopBorderColorWhenHasState
- Angegeben von:
getTopBorderColorWhenHasState
in SchnittstelleIBorderStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
getTopBorderThicknessWhenHasState
- Angegeben von:
getTopBorderThicknessWhenHasState
in SchnittstelleIBorderStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
getTopPaddingWhenHasState
- Angegeben von:
getTopPaddingWhenHasState
in SchnittstelleIPaddingStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
getWidthForState
- Angegeben von:
getWidthForState
in SchnittstelleISizeStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
removeCustomBackgrounds
public final void removeCustomBackgrounds()- Angegeben von:
removeCustomBackgrounds
in SchnittstelleIBackgroundStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
removeCustomBorderColors
public final void removeCustomBorderColors()- Angegeben von:
removeCustomBorderColors
in SchnittstelleIBorderStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
removeCustomBorderThicknesses
public final void removeCustomBorderThicknesses()- Angegeben von:
removeCustomBorderThicknesses
in SchnittstelleIBorderStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
removeCustomBottomBorderColors
public final void removeCustomBottomBorderColors()- Angegeben von:
removeCustomBottomBorderColors
in SchnittstelleIBorderStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
removeCustomBottomBorderThicknesses
public final void removeCustomBottomBorderThicknesses()- Angegeben von:
removeCustomBottomBorderThicknesses
in SchnittstelleIBorderStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
removeCustomBottomPaddings
public final void removeCustomBottomPaddings()- Angegeben von:
removeCustomBottomPaddings
in SchnittstelleIPaddingStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
removeCustomHeights
public final void removeCustomHeights()- Angegeben von:
removeCustomHeights
in SchnittstelleISizeStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
removeCustomLeftBorderColors
public final void removeCustomLeftBorderColors()- Angegeben von:
removeCustomLeftBorderColors
in SchnittstelleIBorderStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
removeCustomLeftBorderThicknesses
public final void removeCustomLeftBorderThicknesses()- Angegeben von:
removeCustomLeftBorderThicknesses
in SchnittstelleIBorderStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
removeCustomLeftPaddings
public final void removeCustomLeftPaddings()- Angegeben von:
removeCustomLeftPaddings
in SchnittstelleIPaddingStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
removeCustomPaddings
public final void removeCustomPaddings()- Angegeben von:
removeCustomPaddings
in SchnittstelleIPaddingStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
removeCustomRightBorderColors
public final void removeCustomRightBorderColors()- Angegeben von:
removeCustomRightBorderColors
in SchnittstelleIBorderStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
removeCustomRightBorderThicknesses
public final void removeCustomRightBorderThicknesses()- Angegeben von:
removeCustomRightBorderThicknesses
in SchnittstelleIBorderStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
removeCustomRightPaddings
public final void removeCustomRightPaddings()- Angegeben von:
removeCustomRightPaddings
in SchnittstelleIPaddingStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
removeCustomTopBorderColors
public final void removeCustomTopBorderColors()- Angegeben von:
removeCustomTopBorderColors
in SchnittstelleIBorderStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
removeCustomTopBorderThicknesses
public final void removeCustomTopBorderThicknesses()- Angegeben von:
removeCustomTopBorderThicknesses
in SchnittstelleIBorderStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
removeCustomTopPaddings
public final void removeCustomTopPaddings()- Angegeben von:
removeCustomTopPaddings
in SchnittstelleIPaddingStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
removeCustomWidths
public final void removeCustomWidths()- Angegeben von:
removeCustomWidths
in SchnittstelleISizeStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
setBackgroundColorForState
- Angegeben von:
setBackgroundColorForState
in SchnittstelleIBackgroundStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
setBackgroundColorGradientForState
public final S setBackgroundColorGradientForState(ControlState state, IColorGradient backgroundColorGradient) - Angegeben von:
setBackgroundColorGradientForState
in SchnittstelleIBackgroundStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
setBackgroundForState
- Angegeben von:
setBackgroundForState
in SchnittstelleIBackgroundStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
setBackgroundImageForState
public final S setBackgroundImageForState(ControlState state, IImage backgroundImage, ImageApplication imageApplication) - Angegeben von:
setBackgroundImageForState
in SchnittstelleIBackgroundStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
setBorderColorForState
- Angegeben von:
setBorderColorForState
in SchnittstelleIBorderStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
setBorderThicknessForState
- Angegeben von:
setBorderThicknessForState
in SchnittstelleIBorderStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
setBottomBorderColorForState
- Angegeben von:
setBottomBorderColorForState
in SchnittstelleIBorderStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
setBottomBorderThicknessForState
- Angegeben von:
setBottomBorderThicknessForState
in SchnittstelleIBorderStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
setBottomPaddingForState
- Angegeben von:
setBottomPaddingForState
in SchnittstelleIPaddingStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
setHeightForState
- Angegeben von:
setHeightForState
in SchnittstelleISizeStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
setHeightInPercentOfViewAreaForState
public final S setHeightInPercentOfViewAreaForState(ControlState state, double heightInPercentOfViewAreaHeight) - Angegeben von:
setHeightInPercentOfViewAreaForState
in SchnittstelleISizeStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
setLeftBorderColorForState
- Angegeben von:
setLeftBorderColorForState
in SchnittstelleIBorderStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
setLeftBorderThicknessForState
- Angegeben von:
setLeftBorderThicknessForState
in SchnittstelleIBorderStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
setLeftPaddingForState
- Angegeben von:
setLeftPaddingForState
in SchnittstelleIPaddingStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
setPaddingForState
- Angegeben von:
setPaddingForState
in SchnittstelleIPaddingStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
setRightBorderColorForState
- Angegeben von:
setRightBorderColorForState
in SchnittstelleIBorderStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
setRightBorderThicknessForState
- Angegeben von:
setRightBorderThicknessForState
in SchnittstelleIBorderStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
setRightPaddingForState
- Angegeben von:
setRightPaddingForState
in SchnittstelleIPaddingStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
setTopBorderColorForState
- Angegeben von:
setTopBorderColorForState
in SchnittstelleIBorderStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
setTopBorderThicknessForState
- Angegeben von:
setTopBorderThicknessForState
in SchnittstelleIBorderStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
setTopPaddingForState
- Angegeben von:
setTopPaddingForState
in SchnittstelleIPaddingStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
setWidthForState
- Angegeben von:
setWidthForState
in SchnittstelleISizeStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
setWidthInPercentOfViewAreaWidthForState
public S setWidthInPercentOfViewAreaWidthForState(ControlState state, double widthInPercentOfViewAreaWidth) - Angegeben von:
setWidthInPercentOfViewAreaWidthForState
in SchnittstelleISizeStyle<S extends IControlStyle<S> & IMultiStateConfiguration<S,
ControlState>>
-
addChild
- Angegeben von:
addChild
in SchnittstelleIControlHeadStyle<C extends IControlHeadStyle<C>>
-
definesTextLineDecorationForState
- Angegeben von:
definesTextLineDecorationForState
in SchnittstelleIControlHeadStyle<C extends IControlHeadStyle<C>>
-
getBoldTextFlagWhenHasState
- Angegeben von:
getBoldTextFlagWhenHasState
in SchnittstelleIControlHeadStyle<C extends IControlHeadStyle<C>>
-
getFontWhenHasState
- Angegeben von:
getFontWhenHasState
in SchnittstelleIControlHeadStyle<C extends IControlHeadStyle<C>>
-
getOpacityWhenHasState
- Angegeben von:
getOpacityWhenHasState
in SchnittstelleIControlHeadStyle<C extends IControlHeadStyle<C>>
-
getTextColorWhenHasState
- Angegeben von:
getTextColorWhenHasState
in SchnittstelleIControlHeadStyle<C extends IControlHeadStyle<C>>
-
getTextLineDecorationWhenHasState
- Angegeben von:
getTextLineDecorationWhenHasState
in SchnittstelleIControlHeadStyle<C extends IControlHeadStyle<C>>
-
getTextSizeWhenHasState
- Angegeben von:
getTextSizeWhenHasState
in SchnittstelleIControlHeadStyle<C extends IControlHeadStyle<C>>
-
removeCustomBoldTextFlags
public final void removeCustomBoldTextFlags()- Angegeben von:
removeCustomBoldTextFlags
in SchnittstelleIControlHeadStyle<C extends IControlHeadStyle<C>>
-
removeCustomFonts
public final void removeCustomFonts()- Angegeben von:
removeCustomFonts
in SchnittstelleIControlHeadStyle<C extends IControlHeadStyle<C>>
-
removeCustomOpacities
public final void removeCustomOpacities()- Angegeben von:
removeCustomOpacities
in SchnittstelleIControlHeadStyle<C extends IControlHeadStyle<C>>
-
removeCustomTextColors
public final void removeCustomTextColors()- Angegeben von:
removeCustomTextColors
in SchnittstelleIControlHeadStyle<C extends IControlHeadStyle<C>>
-
removeCustomTextLineDecorations
public void removeCustomTextLineDecorations()- Angegeben von:
removeCustomTextLineDecorations
in SchnittstelleIControlHeadStyle<C extends IControlHeadStyle<C>>
-
removeCustomTextSizes
public final void removeCustomTextSizes()- Angegeben von:
removeCustomTextSizes
in SchnittstelleIControlHeadStyle<C extends IControlHeadStyle<C>>
-
setBoldTextFlagForState
- Angegeben von:
setBoldTextFlagForState
in SchnittstelleIControlHeadStyle<C extends IControlHeadStyle<C>>
-
setFontForState
- Angegeben von:
setFontForState
in SchnittstelleIControlHeadStyle<C extends IControlHeadStyle<C>>
-
setOpacityForState
- Angegeben von:
setOpacityForState
in SchnittstelleIControlHeadStyle<C extends IControlHeadStyle<C>>
-
setTextColorForState
- Angegeben von:
setTextColorForState
in SchnittstelleIControlHeadStyle<C extends IControlHeadStyle<C>>
-
setTextLineDecorationForState
- Angegeben von:
setTextLineDecorationForState
in SchnittstelleIControlHeadStyle<C extends IControlHeadStyle<C>>
-
setTextSizeForState
- Angegeben von:
setTextSizeForState
in SchnittstelleIControlHeadStyle<C extends IControlHeadStyle<C>>
-