Package ch.nolix.systemapi.gui.cssmapper
Schnittstelle ICssPropertyMapper
- Alle bekannten Implementierungsklassen:
CssPropertyMapper
public interface ICssPropertyMapper
- Version:
- 2025-08-10
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungmapBackgroundToCssProperties(IBackground background) mapCornerShadowsToOptionalCssProperty(IContainer<? extends ICornerShadow> cornerShadows) mapCornerShadowToCssProperty(ICornerShadow cornerShadow) mapLineDecorationToCssProperty(LineDecoration lineDecoration)
-
Methodendetails
-
mapBackgroundToCssProperties
- Parameter:
background-- Gibt zurück:
- the
ICssPropertys from the given background. - Löst aus:
RuntimeException- if the given background is null.
-
mapCornerShadowToCssProperty
- Parameter:
cornerShadow-- Gibt zurück:
- a new
ICssPropertyfrom the given cornerShadow. - Löst aus:
RuntimeException- if the given cornerShadow is null.
-
mapCornerShadowsToOptionalCssProperty
Optional<ICssProperty> mapCornerShadowsToOptionalCssProperty(IContainer<? extends ICornerShadow> cornerShadows) - Parameter:
cornerShadows-- Gibt zurück:
- a
Optionalwith a newICssPropertyfrom the given cornerShadows if the given cornerShadows is not empty, an emptyOptionalotherwise. - Löst aus:
RuntimeException- if the given cornerShadows is null or one of the given cornerShadows is null.
-
mapLineDecorationToCssProperty
- Parameter:
lineDecoration-- Gibt zurück:
- a new
ICssPropertyfrom the given lineDecoration. - Löst aus:
RuntimeException- if the given lineDecoration is null.
-