@Environment(value=CLIENT) public class ControlsListWidget.KeyBindingEntry extends ControlsListWidget.Entry
| Modifier and Type | Field and Description |
|---|---|
private KeyBinding |
binding |
private String |
bindingName |
private ButtonWidget |
editButton |
private ButtonWidget |
resetButton |
| Modifier | Constructor and Description |
|---|---|
private |
KeyBindingEntry(KeyBinding binding) |
| Modifier and Type | Method and Description |
|---|---|
List<? extends Element> |
children() |
boolean |
mouseClicked(double mouseX,
double mouseY,
int button) |
boolean |
mouseReleased(double mouseX,
double mouseY,
int button) |
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, mouseDragged, mouseScrolled, setInitialFocusisMouseOver, mouseMovedprivate final KeyBinding binding
private final String bindingName
private final ButtonWidget editButton
private final ButtonWidget resetButton
private KeyBindingEntry(KeyBinding binding)
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<ControlsListWidget.Entry>public boolean mouseClicked(double mouseX,
double mouseY,
int button)
public boolean mouseReleased(double mouseX,
double mouseY,
int button)