Class AbstractTestScreen.GroupableList.GroupEntry
java.lang.Object
net.minecraft.client.gui.components.AbstractSelectionList.Entry<AbstractTestScreen.GroupableList.Entry>
net.minecraft.client.gui.components.ObjectSelectionList.Entry<AbstractTestScreen.GroupableList.Entry>
net.neoforged.testframework.client.AbstractTestScreen.GroupableList.Entry
net.neoforged.testframework.client.AbstractTestScreen.GroupableList.GroupEntry
- All Implemented Interfaces:
GuiEventListener,TabOrderedElement,NarrationSupplier
- Enclosing class:
AbstractTestScreen.GroupableList
protected final class AbstractTestScreen.GroupableList.GroupEntry
extends AbstractTestScreen.GroupableList.Entry
-
Field Summary
FieldsFields inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
listFields inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
DOUBLE_CLICK_THRESHOLD_MS -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateGroupEntry(Group group) privateGroupEntry(Group group, boolean isTitle) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanvoidenable(boolean enable) private ComponentgetTitle()booleanbooleanmouseClicked(double pMouseX, double pMouseY, int pButton) private voidvoidrender(GuiGraphics pPoseStack, int pIndex, int pTop, int pLeft, int pWidth, int pHeight, int pMouseX, int pMouseY, boolean pIsMouseOver, float pPartialTick) protected voidrenderTooltips(GuiGraphics poseStack, int mouseX, int mouseY) voidreset()Methods inherited from class net.neoforged.testframework.client.AbstractTestScreen.GroupableList.Entry
getNarrationMethods inherited from class net.minecraft.client.gui.components.ObjectSelectionList.Entry
updateNarrationMethods inherited from class net.minecraft.client.gui.components.AbstractSelectionList.Entry
isFocused, isMouseOver, renderBack, setFocusedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.gui.components.events.GuiEventListener
charTyped, getCurrentFocusPath, getRectangle, keyPressed, keyReleased, mouseDragged, mouseMoved, mouseReleased, mouseScrolled, nextFocusPathMethods inherited from interface net.minecraft.client.gui.components.TabOrderedElement
getTabOrderGroup
-
Field Details
-
group
-
browseButton
-
isTitle
private final boolean isTitle
-
-
Constructor Details
-
GroupEntry
-
GroupEntry
-
-
Method Details
-
render
public void render(GuiGraphics pPoseStack, int pIndex, int pTop, int pLeft, int pWidth, int pHeight, int pMouseX, int pMouseY, boolean pIsMouseOver, float pPartialTick) - Specified by:
renderin classAbstractSelectionList.Entry<AbstractTestScreen.GroupableList.Entry>
-
renderTooltips
- Overrides:
renderTooltipsin classAbstractTestScreen.GroupableList.Entry
-
getTitle
-
mouseClicked
public boolean mouseClicked(double pMouseX, double pMouseY, int pButton) - Specified by:
mouseClickedin interfaceGuiEventListener- Overrides:
mouseClickedin classAbstractTestScreen.GroupableList.Entry
-
openBrowseGUI
private void openBrowseGUI() -
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin classAbstractTestScreen.GroupableList.Entry
-
canDisable
public boolean canDisable()- Overrides:
canDisablein classAbstractTestScreen.GroupableList.Entry
-
canEnable
public boolean canEnable()- Overrides:
canEnablein classAbstractTestScreen.GroupableList.Entry
-
enable
public void enable(boolean enable) - Specified by:
enablein classAbstractTestScreen.GroupableList.Entry
-
reset
public void reset()- Specified by:
resetin classAbstractTestScreen.GroupableList.Entry
-