Class SubGuiBox.Base
java.lang.Object
org.cyclops.integrateddynamics.core.client.gui.subgui.SubGuiBox
org.cyclops.integrateddynamics.core.client.gui.subgui.SubGuiBox.Base
- All Implemented Interfaces:
ISubGui
,ISubGuiBox
- Direct Known Subclasses:
GuiElementValueTypeDropdownList.SubGuiValueTypeInfo
,GuiElementValueTypeString.SubGuiValueTypeInfo
- Enclosing class:
SubGuiBox
-
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.client.gui.subgui.SubGuiBox
buttonList, subGuiHolder, TEXTURE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
charTyped
(char typedChar, int keyCode) Char type eventint
int
getWidth()
int
getX()
int
getY()
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
tick()
Methods inherited from class org.cyclops.integrateddynamics.core.client.gui.subgui.SubGuiBox
actionPerformed, drawGuiContainerForegroundLayer, drawScreen, isDrawBackground, renderBg
-
Constructor Details
-
Base
-
-
Method Details
-
getX
public int getX() -
getY
public int getY() -
getWidth
public int getWidth() -
getHeight
public int getHeight() -
init
public void init(int guiLeft, int guiTop) -
tick
public void tick() -
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
- Overrides:
keyPressed
in classSubGuiBox
- 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
-