Module technology.sola.engine
Class TextInputElementJsonBlueprint
java.lang.Object
technology.sola.engine.graphics.gui.json.element.GuiElementJsonBlueprint<TextInputStyles,TextInputGuiElement,TextInputStyles.Builder<?>>
technology.sola.engine.graphics.gui.json.element.TextInputElementJsonBlueprint
@NullMarked
public class TextInputElementJsonBlueprint
extends GuiElementJsonBlueprint<TextInputStyles,TextInputGuiElement,TextInputStyles.Builder<?>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateElementFromJson(technology.sola.json.JsonObject propsJson) Creates an instance of the Element of this blueprint.protected TextInputStyles.Builder<?>getTag()Methods inherited from class technology.sola.engine.graphics.gui.json.element.GuiElementJsonBlueprint
createStylesFromJson
-
Constructor Details
-
TextInputElementJsonBlueprint
public TextInputElementJsonBlueprint()Creates an instance of thisGuiElementJsonBlueprint.
-
-
Method Details
-
getTag
- Specified by:
getTagin classGuiElementJsonBlueprint<TextInputStyles,TextInputGuiElement, TextInputStyles.Builder<?>> - Returns:
- the tag identifier of this blueprint
-
createElementFromJson
Description copied from class:GuiElementJsonBlueprintCreates an instance of the Element of this blueprint.- Specified by:
createElementFromJsonin classGuiElementJsonBlueprint<TextInputStyles,TextInputGuiElement, TextInputStyles.Builder<?>> - Parameters:
propsJson- theJsonObjectto build from- Returns:
- the Element with props set
-
createStylesBuilder
- Specified by:
createStylesBuilderin classGuiElementJsonBlueprint<TextInputStyles,TextInputGuiElement, TextInputStyles.Builder<?>> - Returns:
- a new StylesBuilder for this blueprint to use
-