Module technology.sola.engine
Class TextInputStylesJsonValueParser
java.lang.Object
technology.sola.engine.graphics.gui.json.styles.TextInputStylesJsonValueParser
- All Implemented Interfaces:
StylesJsonValueParser<TextInputStyles.Builder<?>>
@NullMarked
public class TextInputStylesJsonValueParser
extends Object
implements StylesJsonValueParser<TextInputStyles.Builder<?>>
A
StylesJsonValueParser
implementation for TextStyles.Builder
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setPropertyFromJson
(TextInputStyles.Builder<?> stylesBuilder, String propertyKey, technology.sola.json.JsonElement value) Sets the desired property in a StylesBuilder based on theJsonElement
value
-
Constructor Details
-
TextInputStylesJsonValueParser
public TextInputStylesJsonValueParser()
-
-
Method Details
-
setPropertyFromJson
public void setPropertyFromJson(TextInputStyles.Builder<?> stylesBuilder, String propertyKey, technology.sola.json.JsonElement value) Description copied from interface:StylesJsonValueParser
Sets the desired property in a StylesBuilder based on theJsonElement
value- Specified by:
setPropertyFromJson
in interfaceStylesJsonValueParser<TextInputStyles.Builder<?>>
- Parameters:
stylesBuilder
- the StylesBuilder to set a property ofpropertyKey
- the property of the styles builder to setvalue
- the value to set into the builder
-