47 lines
1.8 KiB
Markdown
47 lines
1.8 KiB
Markdown
# UIStringListComponent.UIStringListComponent
|
|
|
|
[← UIStringListComponent](index.md) · [← Master](../../wiki.md)
|
|
|
|
Parça 1/3 · [sonraki](UIStringListComponent-2.md)
|
|
|
|
UIStringListComponent()
|
|
|
|
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)
|
|
UIStringListComponent background()
|
|
|
|
Set component's solid color background.
|
|
UIStringListComponent background(int background)
|
|
|
|
Set component's solid color background.
|
|
GuiElement create(Minecraft mc, UIContext context)
|
|
void deserializeNBT(NBTTagCompound tag)
|
|
java.util.List<java.lang.String> getValues()
|
|
|
|
Returns values of this string list.
|
|
void populateData(NBTTagCompound tag)
|
|
UIStringListComponent selected(int selected)
|
|
|
|
Set the currently selected element.
|
|
void serializeNBT(NBTTagCompound tag)
|
|
UIStringListComponent setValues(java.util.List<java.lang.String> values)
|
|
|
|
Replace values within this string list.
|
|
UIStringListComponent values(java.util.List<java.lang.String> values)
|
|
|
|
Replace values within this string list.
|
|
UIStringListComponent values(java.lang.String... values)
|
|
|
|
Replace values within this string list.
|
|
|
|
Methods inherited from class mchorse.mappet.api.ui.components.UIComponent
|
|
anchor, anchor, anchorX, anchorY, apply, applyKeybinds, change, clearChanges, context, context, createContext,
|
|
enabled, getChanges, getChildComponents, getDefaultUpdateDelay, 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
|