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:
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.BoxNested 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancharTyped(char typedChar, int keyCode) Char type eventintintgetWidth()intgetX()intgetY()voidinit(int guiLeft, int guiTop) booleankeyPressed(int typedChar, int keyCode, int modifiers) Key press eventbooleanmouseClicked(double mouseX, double mouseY, int mouseButton) voidtick()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:ISubGuiChar type event -
keyPressed
public boolean keyPressed(int typedChar, int keyCode, int modifiers) Description copied from interface:ISubGuiKey press event- Specified by:
keyPressedin interfaceISubGui- Overrides:
keyPressedin 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:
mouseClickedin interfaceISubGui- Overrides:
mouseClickedin classSubGuiBox
-