1.8 KiB
UILabelBaseComponent.UILabelBaseComponent
← UILabelBaseComponent · ← Master
Parça 1/3 · sonraki
UILabelBaseComponent()
Method Summary All Methods Instance Methods Concrete Methods
Modifier and Type Method and Description protected GuiElement apply(GuiElement element, UIContext context) protected void applyProperty(UIContext context, java.lang.String key, GuiElement element) UILabelBaseComponent color(int color)
Change text color of this component by providing hex RGB. UILabelBaseComponent color(int color, boolean shadow)
Change text color of this component by providing hex RGB. void deserializeNBT(NBTTagCompound tag) protected java.lang.String getLabel() UILabelBaseComponent label(java.lang.String label)
Set label for label, toggle and text UI components, or change the input value for textbox and textarea components. void serializeNBT(NBTTagCompound tag)
Methods inherited from class mchorse.mappet.api.ui.components.UIComponent anchor, anchor, anchorX, anchorY, applyKeybinds, change, clearChanges, context, context, create, createContext, enabled, getChanges, getChildComponents, getDefaultUpdateDelay, h, handleChanges, id, isDataReserved, keybind, keybind, keybind, keybind, margin, marginBottom, marginLeft, marginRight, marginTop, populateData, 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
label
public java.lang.String label
hasBackground
protected boolean hasBackground
Constructor Detail UILabelBaseComponent
public UILabelBaseComponent()
Method Detail color