Class ContainerScreenLogicProgrammerBase.SubGuiOperatorInfo
java.lang.Object
org.cyclops.integrateddynamics.core.client.gui.subgui.SubGuiBox
org.cyclops.integrateddynamics.core.client.gui.subgui.SubGuiBox.Base
org.cyclops.integrateddynamics.core.evaluate.variable.gui.GuiElementValueTypeString.SubGuiValueTypeInfo<RenderPattern,ContainerScreenLogicProgrammerBase<?>,ContainerLogicProgrammerBase>
org.cyclops.integrateddynamics.client.gui.container.ContainerScreenLogicProgrammerBase.SubGuiOperatorInfo
- All Implemented Interfaces:
ISubGui
,ISubGuiBox
- Enclosing class:
- ContainerScreenLogicProgrammerBase<C extends ContainerLogicProgrammerBase>
public class ContainerScreenLogicProgrammerBase.SubGuiOperatorInfo
extends GuiElementValueTypeString.SubGuiValueTypeInfo<RenderPattern,ContainerScreenLogicProgrammerBase<?>,ContainerLogicProgrammerBase>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.cyclops.integrateddynamics.core.client.gui.subgui.SubGuiBox
SubGuiBox.Base, SubGuiBox.Box
Nested classes/interfaces inherited from interface org.cyclops.integrateddynamics.api.client.gui.subgui.ISubGui
ISubGui.SubGuiComparator
-
Field Summary
Fields inherited from class org.cyclops.integrateddynamics.core.evaluate.variable.gui.GuiElementValueTypeString.SubGuiValueTypeInfo
container, gui
Fields inherited from class org.cyclops.integrateddynamics.core.client.gui.subgui.SubGuiBox
buttonList, subGuiHolder, TEXTURE
-
Constructor Summary
ConstructorDescriptionSubGuiOperatorInfo
(IGuiInputElement<RenderPattern, ContainerScreenLogicProgrammerBase<?>, ContainerLogicProgrammerBase> element) -
Method Summary
Modifier and TypeMethodDescriptionboolean
charTyped
(char typedChar, int keyCode) Char type eventprotected net.minecraft.network.chat.Component
protected net.minecraft.resources.ResourceLocation
void
init
(int guiLeft, int guiTop) boolean
keyPressed
(int typedChar, int keyCode, int modifiers) Key press eventboolean
mouseClicked
(double mouseX, double mouseY, int mouseButton) void
void
renderBg
(net.minecraft.client.gui.GuiGraphics guiGraphics, int guiLeft, int guiTop, net.minecraft.client.renderer.texture.TextureManager textureManager, net.minecraft.client.gui.Font font, float partialTicks, int mouseX, int mouseY) boolean
protected boolean
Methods inherited from class org.cyclops.integrateddynamics.core.evaluate.variable.gui.GuiElementValueTypeString.SubGuiValueTypeInfo
drawGuiContainerForegroundLayer, getSignalX, getSignalY
Methods inherited from class org.cyclops.integrateddynamics.core.client.gui.subgui.SubGuiBox.Base
getHeight, getWidth, getX, getY, tick
Methods inherited from class org.cyclops.integrateddynamics.core.client.gui.subgui.SubGuiBox
actionPerformed, drawScreen, isDrawBackground
-
Constructor Details
-
SubGuiOperatorInfo
public SubGuiOperatorInfo(IGuiInputElement<RenderPattern, ContainerScreenLogicProgrammerBase<?>, ContainerLogicProgrammerBase> element)
-
-
Method Details
-
init
public void init(int guiLeft, int guiTop) - Specified by:
init
in interfaceISubGui
- Overrides:
init
in classSubGuiBox.Base
-
showError
protected boolean showError() -
getLastError
protected net.minecraft.network.chat.Component getLastError() -
getTexture
protected net.minecraft.resources.ResourceLocation getTexture() -
charTyped
public boolean charTyped(char typedChar, int keyCode) Description copied from interface:ISubGui
Char type event- Specified by:
charTyped
in interfaceISubGui
- Overrides:
charTyped
in classSubGuiBox.Base
- Parameters:
typedChar
- The character typedkeyCode
- The keycode of the character typed- Returns:
- True if all next actions should be skipped
-
keyPressed
public boolean keyPressed(int typedChar, int keyCode, int modifiers) Description copied from interface:ISubGui
Key press event- Specified by:
keyPressed
in interfaceISubGui
- Overrides:
keyPressed
in classSubGuiBox.Base
- Parameters:
typedChar
- The character typedkeyCode
- The keycode of the character typedmodifiers
- Key modifiers- Returns:
- True if all next actions should be skipped
-
mouseClicked
public boolean mouseClicked(double mouseX, double mouseY, int mouseButton) - Specified by:
mouseClicked
in interfaceISubGui
- Overrides:
mouseClicked
in classSubGuiBox.Base
-
renderBg
public void renderBg(net.minecraft.client.gui.GuiGraphics guiGraphics, int guiLeft, int guiTop, net.minecraft.client.renderer.texture.TextureManager textureManager, net.minecraft.client.gui.Font font, float partialTicks, int mouseX, int mouseY) - Specified by:
renderBg
in interfaceISubGui
- Overrides:
renderBg
in classGuiElementValueTypeString.SubGuiValueTypeInfo<RenderPattern,
ContainerScreenLogicProgrammerBase<?>, ContainerLogicProgrammerBase>
-
shouldRenderElementName
public boolean shouldRenderElementName() -
onButtonEditClick
public void onButtonEditClick()
-