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 TypeMethodDescriptionvoidsetPropertyFromJson(TextInputStyles.Builder<?> stylesBuilder, String propertyKey, technology.sola.json.JsonElement value) Sets the desired property in a StylesBuilder based on theJsonElementvalue
-
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:StylesJsonValueParserSets the desired property in a StylesBuilder based on theJsonElementvalue- Specified by:
setPropertyFromJsonin 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
-