1.2 KiB
UITextboxComponent.UITextboxComponent
← UITextboxComponent · ← Master
Parça 2/2 · önceki
uiContext.get("textbox").maxLength(68);
noBackground
public UITextboxComponent noBackground()
Disable textbox's background.
// Assuming that uiContext is a IMappetUIContext uiContext.get("textbox").noBackground();
getDefaultUpdateDelay
protected int getDefaultUpdateDelay()
Overrides: getDefaultUpdateDelay in class UIComponent
applyProperty
protected void applyProperty(UIContext context, java.lang.String key, GuiElement element)
Overrides: applyProperty in class UILabelBaseComponent
create
public GuiElement create(Minecraft mc, UIContext context)
Specified by: create in class UIComponent
populateData
public void populateData(NBTTagCompound tag)
Overrides: populateData in class UIComponent
serializeNBT
public void serializeNBT(NBTTagCompound tag)
Overrides: serializeNBT in class UILabelBaseComponent
deserializeNBT
public void deserializeNBT(NBTTagCompound tag)
Overrides: deserializeNBT in class UILabelBaseComponent