Class TextInputPrefab
java.lang.Object
dev.prozilla.pine.core.entity.prefab.Prefab
dev.prozilla.pine.core.entity.prefab.ui.NodePrefab
dev.prozilla.pine.core.entity.prefab.ui.TextPrefab
dev.prozilla.pine.core.entity.prefab.ui.TextInputPrefab
@Components({TextInputNode.class,TextNode.class,Node.class,Transform.class})
public class TextInputPrefab
extends TextPrefab
-
Field Summary
FieldsFields inherited from class dev.prozilla.pine.core.entity.prefab.ui.TextPrefab
font, text, textProperty
Fields inherited from class dev.prozilla.pine.core.entity.prefab.ui.NodePrefab
absolutePosition, anchor, autoFocus, backgroundColor, border, borderColor, borderImage, borderImageSlice, borderImageSliceFill, classes, color, margin, padding, passThrough, position, size, styleSheet, tabIndex, tooltipText
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
Adds this prefab's predefined components to a given entity and copies values from this prefab.void
setType
(TextInputNode.Type type) Methods inherited from class dev.prozilla.pine.core.entity.prefab.ui.TextPrefab
setFont, setFont, setText, setText
Methods inherited from class dev.prozilla.pine.core.entity.prefab.ui.NodePrefab
addClass, addClasses, setAbsolutePosition, setAnchor, setAutoFocus, setBackgroundColor, setBackgroundColor, setBorder, setBorderColor, setBorderImage, setColor, setColor, setDefaultPropertyValue, setMargin, setMargin, setMargin, setPadding, setPadding, setPadding, setPassThrough, setSize, setSize, setSize, setStyleSheet, setStyleSheet, setTabIndex, setTooltipText
Methods inherited from class dev.prozilla.pine.core.entity.prefab.Prefab
instantiate, instantiate, setActive, setName, setTag
-
Field Details
-
type
-
-
Constructor Details
-
TextInputPrefab
public TextInputPrefab() -
TextInputPrefab
-
-
Method Details
-
setType
-
apply
Description copied from class:Prefab
Adds this prefab's predefined components to a given entity and copies values from this prefab.- Overrides:
apply
in classTextPrefab
-