# UIButtonComponent.noBackground [← UIButtonComponent](index.md) · [← Master](../../wiki.md) Parça 1/2 · [sonraki](noBackground-2.md) noBackground() UIButtonComponent Disable button'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, getDefaultUpdateDelay, h, handleChanges, id, 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 background public java.lang.Integer background Constructor Detail UIButtonComponent public UIButtonComponent() Method Detail background public UIButtonComponent background(int background) Change button's background color by providing hex RGB. // Assuming that uiContext is a IMappetUIContext uiContext.get("button").background(0x00ff00); noBackground public UIButtonComponent noBackground() Disable button's background. // Assuming that uiContext is a IMappetUIContext uiContext.get("button").noBackground(); isDataReserved protected boolean isDataReserved() Overrides: isDataReserved in class UIComponent applyProperty protected void applyProperty(UIContext context, java.lang.String key, GuiElement element) Overrides: