Class ButtonListDialogScreen<T extends ButtonListDialog>
java.lang.Object
net.minecraft.client.gui.components.events.AbstractContainerEventHandler
net.minecraft.client.gui.screens.Screen
net.minecraft.client.gui.screens.dialog.DialogScreen<T>
net.minecraft.client.gui.screens.dialog.ButtonListDialogScreen<T>
- All Implemented Interfaces:
ContainerEventHandler, GuiEventListener, Renderable, TabOrderedElement
- Direct Known Subclasses:
DialogListDialogScreen, MultiButtonDialogScreen, ServerLinksDialogScreen
-
Nested Class Summary
Nested classes/interfaces inherited from class DialogScreen
DialogScreen.WarningScreenNested classes/interfaces inherited from class Screen
Screen.NarratableSearchResult -
Field Summary
FieldsFields inherited from class DialogScreen
DISCONNECTFields inherited from class Screen
FADE_IN_TIME, font, FOOTER_SEPARATOR, HEADER_SEPARATOR, height, INWORLD_FOOTER_SEPARATOR, INWORLD_HEADER_SEPARATOR, MENU_BACKGROUND, minecraft, narratorButton, renderables, screenExecutor, title, width -
Constructor Summary
ConstructorsConstructorDescriptionButtonListDialogScreen(@Nullable Screen previousScreen, T dialog, DialogConnectionAccess connectionAccess) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Stream<ActionButton> createListActions(T dialog, DialogConnectionAccess connectionAccess) protected voidpopulateBodyElements(LinearLayout layout, DialogControlSet controlSet, T dialog, DialogConnectionAccess connectionAccess) protected voidupdateHeaderAndFooter(HeaderAndFooterLayout layout, DialogControlSet controlSet, T dialog, DialogConnectionAccess connectionAccess) Methods inherited from class DialogScreen
createTitleWithWarningButton, init, isPauseScreen, makeSureWarningButtonIsInBounds, onClose, packControlsIntoColumns, previousScreen, repositionElements, runAction, runAction, shouldCloseOnEscMethods inherited from class Screen
added, addRenderableOnly, addRenderableWidget, addWidget, afterKeyboardAction, afterMouseAction, afterMouseMove, canInterruptWithAnotherScreen, changeFocus, children, clearFocus, clearWidgets, clickCommandAction, clickUrlAction, defaultHandleClickEvent, defaultHandleGameClickEvent, fadeWidgets, fillCrashDetails, findNarratableWidget, getBackgroundMusic, getFont, getMinecraft, getNarrationMessage, getRectangle, getTitle, getTooltipFromItem, getUsageNarration, handleDelayedNarration, init, insertText, isAllowedInPortal, isInGameUi, isMouseOver, isValidCharacterForName, keyPressed, onFilesDrop, panoramaShouldSpin, rebuildWidgets, removed, removeWidget, render, renderBackground, renderBlurredBackground, renderMenuBackground, renderMenuBackground, renderMenuBackgroundTexture, renderPanorama, renderTransparentBackground, renderWithTooltipAndSubtitles, resize, setInitialFocus, setInitialFocus, shouldNarrateNavigation, showsActiveEffects, tick, triggerImmediateNarration, updateNarratedWidget, updateNarrationState, updateNarratorStatusMethods inherited from class AbstractContainerEventHandler
getFocused, isDragging, setDragging, setFocusedMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ContainerEventHandler
charTyped, getBorderForArrowNavigation, getChildAt, getCurrentFocusPath, isFocused, keyReleased, mouseClicked, mouseDragged, mouseReleased, mouseScrolled, nextFocusPath, setFocusedMethods inherited from interface GuiEventListener
mouseMoved, shouldTakeFocusAfterInteractionMethods inherited from interface TabOrderedElement
getTabOrderGroup
-
Field Details
-
FOOTER_MARGIN
public static final int FOOTER_MARGIN- See Also:
-
-
Constructor Details
-
ButtonListDialogScreen
public ButtonListDialogScreen(@Nullable Screen previousScreen, T dialog, DialogConnectionAccess connectionAccess)
-
-
Method Details
-
populateBodyElements
protected void populateBodyElements(LinearLayout layout, DialogControlSet controlSet, T dialog, DialogConnectionAccess connectionAccess) - Overrides:
populateBodyElementsin classDialogScreen<T extends ButtonListDialog>
-
createListActions
protected abstract Stream<ActionButton> createListActions(T dialog, DialogConnectionAccess connectionAccess)
-