Class SubGuiHolder
java.lang.Object
org.cyclops.integrateddynamics.core.client.gui.subgui.SubGuiHolder
- All Implemented Interfaces:
ISubGui
A subgui that itself can contain multiple
ISubGui
and delegates to them.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.cyclops.integrateddynamics.api.client.gui.subgui.ISubGui
ISubGui.SubGuiComparator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
charTyped
(char typedChar, int keyCode) Char type eventvoid
clear()
void
drawGuiContainerForegroundLayer
(net.minecraft.client.gui.GuiGraphics guiGraphics, int guiLeft, int guiTop, net.minecraft.client.renderer.texture.TextureManager textureManager, net.minecraft.client.gui.Font fontRenderer, int mouseX, int mouseY) void
init
(int guiLeft, int guiTop) boolean
keyPressed
(int typedChar, int keyCode, int modifiers) Key press eventboolean
mouseClicked
(double mouseX, double mouseY, int mouseButton) boolean
removeSubGui
(ISubGui subGui) void
renderBg
(net.minecraft.client.gui.GuiGraphics guiGraphics, int guiLeft, int guiTop, net.minecraft.client.renderer.texture.TextureManager textureManager, net.minecraft.client.gui.Font fontRenderer, float partialTicks, int mouseX, int mouseY) void
tick()
-
Constructor Details
-
SubGuiHolder
public SubGuiHolder()
-
-
Method Details
-
addSubGui
-
removeSubGui
-
clear
public void clear() -
getSubGuis
-
init
public void init(int guiLeft, int guiTop) -
tick
public void tick() -
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 fontRenderer, float partialTicks, int mouseX, int mouseY) -
drawGuiContainerForegroundLayer
public void drawGuiContainerForegroundLayer(net.minecraft.client.gui.GuiGraphics guiGraphics, int guiLeft, int guiTop, net.minecraft.client.renderer.texture.TextureManager textureManager, net.minecraft.client.gui.Font fontRenderer, int mouseX, int mouseY) - Specified by:
drawGuiContainerForegroundLayer
in interfaceISubGui
-
charTyped
public boolean charTyped(char typedChar, int keyCode) Description copied from interface:ISubGui
Char type event -
keyPressed
public boolean keyPressed(int typedChar, int keyCode, int modifiers) Description copied from interface:ISubGui
Key press event- Specified by:
keyPressed
in interfaceISubGui
- 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
-