@Environment(value=CLIENT) public class LanguageOptionsScreen extends GameOptionsScreen
Modifier and Type | Class and Description |
---|---|
(package private) class |
LanguageOptionsScreen.LanguageSelectionListWidget |
Modifier and Type | Field and Description |
---|---|
private ButtonWidget |
doneButton |
private OptionButtonWidget |
forceUnicodeButton |
private LanguageManager |
languageManager |
private LanguageOptionsScreen.LanguageSelectionListWidget |
languageSelectionList |
private static Text |
WARNING_TEXT |
gameOptions, parent
buttons, children, client, height, itemRenderer, passEvents, textRenderer, title, width
GUI_ICONS_TEXTURE, OPTIONS_BACKGROUND_TEXTURE, STATS_ICON_TEXTURE
Constructor and Description |
---|
LanguageOptionsScreen(Screen parent,
GameOptions options,
LanguageManager languageManager) |
Modifier and Type | Method and Description |
---|---|
protected void |
init()
Called when a screen should be initialized.
|
void |
render(MatrixStack matrices,
int mouseX,
int mouseY,
float delta) |
getHoveredButtonTooltip, onClose, removed
addButton, addChild, children, filesDragged, getNarrationMessage, getTitle, getTooltipFromItem, handleTextClick, hasAltDown, hasControlDown, hasShiftDown, init, insertText, isCopy, isCut, isMouseOver, isPaste, isPauseScreen, isSelectAll, isValidCharacterForName, keyPressed, renderBackground, renderBackground, renderBackgroundTexture, renderOrderedTooltip, renderTextHoverEffect, renderTooltip, renderTooltip, renderTooltip, resize, sendMessage, sendMessage, shouldCloseOnEsc, tick, wrapScreenError
getFocused, isDragging, setDragging, setFocused
drawCenteredString, drawCenteredText, drawHorizontalLine, drawSprite, drawStringWithShadow, drawTexture, drawTexture, drawTexture, drawTexture, drawTextWithShadow, drawVerticalLine, fill, fillGradient, fillGradient, getZOffset, method_29343, setZOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
changeFocus, charTyped, focusOn, hoveredElement, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, setInitialFocus
mouseMoved
private static final Text WARNING_TEXT
private LanguageOptionsScreen.LanguageSelectionListWidget languageSelectionList
private final LanguageManager languageManager
private OptionButtonWidget forceUnicodeButton
private ButtonWidget doneButton
public LanguageOptionsScreen(Screen parent, GameOptions options, LanguageManager languageManager)
protected void init()
This method is called when this screen is opened
or resized.
public void render(MatrixStack matrices, int mouseX, int mouseY, float delta)