Package ch.nolix.system.gui.cssmapper
Klasse CssPropertyMapper
java.lang.Object
ch.nolix.system.gui.cssmapper.CssPropertyMapper
- Alle implementierten Schnittstellen:
ICssPropertyMapper
A
CssPropertyMapper is not mutable.- Version:
- 2025-08-10
- Autor:
- Silvan Wyss
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungmapBackgroundToCssProperties(IBackground background) mapCornerShadowsToOptionalCssProperty(IContainer<? extends ICornerShadow> cornerShadows) mapCornerShadowToCssProperty(ICornerShadow cornerShadow) mapLineDecorationToCssProperty(LineDecoration lineDecoration)
-
Konstruktordetails
-
CssPropertyMapper
public CssPropertyMapper()
-
-
Methodendetails
-
mapBackgroundToCssProperties
- Angegeben von:
mapBackgroundToCssPropertiesin SchnittstelleICssPropertyMapper- Parameter:
background-- Gibt zurück:
- the
ICssPropertys from the given background.
-
mapCornerShadowToCssProperty
- Angegeben von:
mapCornerShadowToCssPropertyin SchnittstelleICssPropertyMapper- Parameter:
cornerShadow-- Gibt zurück:
- a new
ICssPropertyfrom the given cornerShadow.
-
mapCornerShadowsToOptionalCssProperty
public Optional<ICssProperty> mapCornerShadowsToOptionalCssProperty(IContainer<? extends ICornerShadow> cornerShadows) - Angegeben von:
mapCornerShadowsToOptionalCssPropertyin SchnittstelleICssPropertyMapper- Parameter:
cornerShadows-- Gibt zurück:
- a
Optionalwith a newICssPropertyfrom the given cornerShadows if the given cornerShadows is not empty, an emptyOptionalotherwise.
-
mapLineDecorationToCssProperty
- Angegeben von:
mapLineDecorationToCssPropertyin SchnittstelleICssPropertyMapper- Parameter:
lineDecoration-- Gibt zurück:
- a new
ICssPropertyfrom the given lineDecoration.
-