@Environment(value=CLIENT) public static class ButtonListWidget.ButtonEntry extends ElementListWidget.Entry<ButtonListWidget.ButtonEntry>
| Modifier and Type | Field and Description |
|---|---|
private List<AbstractButtonWidget> |
buttons |
list| Modifier | Constructor and Description |
|---|---|
private |
ButtonEntry(List<AbstractButtonWidget> buttons) |
| Modifier and Type | Method and Description |
|---|---|
List<? extends Element> |
children() |
static ButtonListWidget.ButtonEntry |
create(GameOptions options,
int width,
Option option) |
static ButtonListWidget.ButtonEntry |
create(GameOptions options,
int width,
Option firstOption,
Option secondOption) |
void |
render(int index,
int y,
int x,
int width,
int height,
int mouseX,
int mouseY,
boolean hovering,
float delta) |
getFocused, isDragging, setDragging, setFocusedisMouseOverclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, charTyped, focusOn, hoveredElement, keyPressed, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocusisMouseOver, mouseMovedprivate final List<AbstractButtonWidget> buttons
private ButtonEntry(List<AbstractButtonWidget> buttons)
public static ButtonListWidget.ButtonEntry create(GameOptions options, int width, Option option)
public static ButtonListWidget.ButtonEntry create(GameOptions options, int width, Option firstOption, @Nullable Option secondOption)
public void render(int index,
int y,
int x,
int width,
int height,
int mouseX,
int mouseY,
boolean hovering,
float delta)
render in class EntryListWidget.Entry<ButtonListWidget.ButtonEntry>