Files

1.8 KiB

UITextareaComponent.noBackground

← UITextareaComponent · ← Master

noBackground() UITextareaComponent Disable textarea's background. void populateData(NBTTagCompound tag)

Methods inherited from class mchorse.mappet.api.ui.components.UILabelBaseComponent apply, color, color, deserializeNBT, getLabel, label, serializeNBT

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

Constructor Detail UITextareaComponent

public UITextareaComponent()

Method Detail noBackground

public UITextareaComponent noBackground()

Disable textarea's background.

// Assuming that uiContext is a IMappetUIContext uiContext.get("textarea").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