Class RealmsPreferredRegionSelectionScreen.RegionSelectionList.Entry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<RealmsPreferredRegionSelectionScreen.RegionSelectionList.Entry>
net.minecraft.client.gui.components.ObjectSelectionList.Entry<RealmsPreferredRegionSelectionScreen.RegionSelectionList.Entry>
com.mojang.realmsclient.gui.screens.configuration.RealmsPreferredRegionSelectionScreen.RegionSelectionList.Entry
- All Implemented Interfaces:
GuiEventListener, TabOrderedElement, LayoutElement, NarrationSupplier
- Enclosing class:
RealmsPreferredRegionSelectionScreen.RegionSelectionList
private class RealmsPreferredRegionSelectionScreen.RegionSelectionList.Entry
extends ObjectSelectionList.Entry<RealmsPreferredRegionSelectionScreen.RegionSelectionList.Entry>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Componentprivate final RealmsSettingsTab.RegionSelectionFields inherited from class AbstractSelectionList.Entry
CONTENT_PADDING, list -
Constructor Summary
ConstructorsConstructorDescriptionEntry(RegionSelectionPreference preference, @Nullable RealmsRegion region) Entry(RealmsSettingsTab.RegionSelection regionSelection) -
Method Summary
Modifier and TypeMethodDescriptionbooleankeyPressed(KeyEvent event) booleanmouseClicked(MouseButtonEvent event, boolean doubleClick) voidrenderContent(GuiGraphics graphics, int mouseX, int mouseY, boolean hovered, float a) Methods inherited from class ObjectSelectionList.Entry
updateNarrationMethods inherited from class AbstractSelectionList.Entry
getContentBottom, getContentHeight, getContentRight, getContentWidth, getContentX, getContentXMiddle, getContentY, getContentYMiddle, getHeight, getRectangle, getWidth, getX, getY, isFocused, isMouseOver, setFocused, setHeight, setWidth, setX, setY, visitWidgetsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface GuiEventListener
charTyped, getBorderForArrowNavigation, getCurrentFocusPath, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPath, shouldTakeFocusAfterInteractionMethods inherited from interface LayoutElement
setPositionMethods inherited from interface TabOrderedElement
getTabOrderGroup
-
Field Details
-
regionSelection
-
name
-
-
Constructor Details
-
Entry
-
Entry
-
-
Method Details
-
getNarration
- Specified by:
getNarrationin classObjectSelectionList.Entry<RealmsPreferredRegionSelectionScreen.RegionSelectionList.Entry>
-
renderContent
- Specified by:
renderContentin classAbstractSelectionList.Entry<RealmsPreferredRegionSelectionScreen.RegionSelectionList.Entry>
-
mouseClicked
- Specified by:
mouseClickedin interfaceGuiEventListener- Overrides:
mouseClickedin classObjectSelectionList.Entry<RealmsPreferredRegionSelectionScreen.RegionSelectionList.Entry>
-
keyPressed
-