Module technology.sola.engine
Class TextInputStyles
java.lang.Object
technology.sola.engine.graphics.gui.style.BaseStyles
technology.sola.engine.graphics.gui.elements.TextStyles
technology.sola.engine.graphics.gui.elements.input.TextInputStyles
TextInputStyles extends
TextStyles
properties adding in extra properties for text input.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class technology.sola.engine.graphics.gui.elements.TextStyles
TextStyles.TextAlignment
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TextInputStyles
(TextInputStyles.Builder<?> builder) PopulatesTextInputStyles
properties from itsTextInputStyles.Builder
. -
Method Summary
Modifier and TypeMethodDescriptionstatic TextInputStyles.Builder<?>
create()
Convenience method for creating a newTextInputStyles.Builder
.@Nullable Color
Methods inherited from class technology.sola.engine.graphics.gui.elements.TextStyles
fontAssetId, textAlignment, textColor
Methods inherited from class technology.sola.engine.graphics.gui.style.BaseStyles
background, border, crossAxisChildren, direction, gap, height, mainAxisChildren, padding, position, visibility, width
-
Constructor Details
-
TextInputStyles
PopulatesTextInputStyles
properties from itsTextInputStyles.Builder
.- Parameters:
builder
- the builder to build styles from
-
-
Method Details
-
create
Convenience method for creating a newTextInputStyles.Builder
.- Returns:
- a new builder instance
-
placeholderColor
- Returns:
- the
Color
of the placeholder text
-