@Environment(value=CLIENT) public class ControlsOptionsScreen extends GameOptionsScreen
| Modifier and Type | Field and Description |
|---|---|
KeyBinding |
focusedBinding |
private ControlsListWidget |
keyBindingListWidget |
private ButtonWidget |
resetButton |
long |
time |
gameOptions, parentbuttons, children, client, height, itemRenderer, passEvents, textRenderer, title, widthBACKGROUND_TEXTURE, GUI_ICONS_TEXTURE, STATS_ICON_TEXTURE| Constructor and Description |
|---|
ControlsOptionsScreen(Screen parent,
GameOptions options) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
init() |
boolean |
keyPressed(int keyCode,
int scanCode,
int modifiers) |
boolean |
mouseClicked(double mouseX,
double mouseY,
int button) |
void |
render(int mouseX,
int mouseY,
float delta) |
onClose, removedaddButton, addChild, children, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, renderBackground, renderBackground, renderDirtBackground, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, wrapScreenErrorgetFocused, isDragging, setDragging, setFocuseddrawCenteredString, drawHorizontalLine, drawSprite, drawString, drawTexture, drawTexture, drawTexture, drawTexture, drawTexturedQuad, drawVerticalLine, fill, fill, fillGradient, getZOffset, setZOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitchangeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseDragged, mouseReleased, mouseScrolled, setInitialFocusmouseMovedpublic KeyBinding focusedBinding
public long time
private ControlsListWidget keyBindingListWidget
private ButtonWidget resetButton
public ControlsOptionsScreen(Screen parent, GameOptions options)
public boolean mouseClicked(double mouseX,
double mouseY,
int button)
public boolean keyPressed(int keyCode,
int scanCode,
int modifiers)
keyPressed in interface ElementkeyPressed in interface ParentElementkeyPressed in class Screen