59 lines
1.8 KiB
Markdown
59 lines
1.8 KiB
Markdown
# UITextboxComponent.UITextboxComponent
|
|
|
|
[← UITextboxComponent](index.md) · [← Master](../../wiki.md)
|
|
|
|
Parça 1/2 · [sonraki](UITextboxComponent-2.md)
|
|
|
|
UITextboxComponent()
|
|
|
|
Method Summary
|
|
All Methods Instance Methods Concrete Methods
|
|
|
|
Modifier and Type Method and Description
|
|
protected void applyProperty(UIContext context, java.lang.String key, GuiElement element)
|
|
GuiElement create(Minecraft mc, UIContext context)
|
|
void deserializeNBT(NBTTagCompound tag)
|
|
protected int getDefaultUpdateDelay()
|
|
UITextboxComponent maxLength(int maxLength)
|
|
|
|
Change component's max length (how many character max can be inputted).
|
|
UITextboxComponent noBackground()
|
|
|
|
Disable textbox's background.
|
|
void populateData(NBTTagCompound tag)
|
|
void serializeNBT(NBTTagCompound tag)
|
|
|
|
Methods inherited from
|
|
class mchorse.mappet.api.ui.components.UILabelBaseComponent
|
|
apply, color, color, getLabel, label
|
|
|
|
Methods inherited from class mchorse.mappet.api.ui.components.UIComponent
|
|
anchor, anchor, anchorX, anchorY, applyKeybinds, change, clearChanges, context, context, createContext,
|
|
enabled, getChanges, getChildComponents, h, handleChanges, id, isDataReserved, keybind, keybind, keybind,
|
|
keybind, margin, marginBottom, marginLeft, marginRight, marginTop, resetContext, rh, rh, rw, rw, rwh, rx, rx,
|
|
rxy, ry, ry, serializeNBT, tooltip, tooltip, updateDelay, visible, w, wh, x, xy, y
|
|
|
|
Methods inherited from class java.lang.Object
|
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
|
|
|
|
Field Detail
|
|
maxLength
|
|
|
|
public int maxLength
|
|
|
|
Constructor Detail
|
|
UITextboxComponent
|
|
|
|
public UITextboxComponent()
|
|
|
|
Method Detail
|
|
maxLength
|
|
|
|
public UITextboxComponent maxLength(int maxLength)
|
|
|
|
Change component's max length (how many character max can be inputted).
|
|
|
|
|
|
|
|
// Assuming that uiContext is a IMappetUIContext
|