java.lang.Object
net.minecraft.client.gui.GuiComponent
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

public static class SubGuiBox.Base extends 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

    Fields inherited from class net.minecraft.client.gui.GuiComponent

    BACKGROUND_LOCATION, GUI_ICONS_LOCATION, STATS_ICON_LOCATION
  • Constructor Summary

    Constructors
    Constructor
    Description
    Base(SubGuiBox.Box type, int x, int y, int width, int height)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    charTyped(char typedChar, int keyCode)
    Char type event
    int
     
    int
     
    int
     
    int
     
    void
    init(int guiLeft, int guiTop)
     
    boolean
    keyPressed(int typedChar, int keyCode, int modifiers)
    Key press event
    boolean
    mouseClicked(double mouseX, double mouseY, int mouseButton)
     
    void
     

    Methods inherited from class org.cyclops.integrateddynamics.core.client.gui.subgui.SubGuiBox

    actionPerformed, drawGuiContainerForegroundLayer, drawScreen, isDrawBackground, renderBg

    Methods inherited from class net.minecraft.client.gui.GuiComponent

    blit, blit, blit, blit, blit, blitOutlineBlack, disableScissor, drawCenteredString, drawCenteredString, drawCenteredString, drawString, drawString, drawString, enableScissor, fill, fillGradient, fillGradient, fillGradient, getBlitOffset, hLine, setBlitOffset, vLine

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Base

      public Base(SubGuiBox.Box type, int x, int y, int width, int height)
  • 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)
      Specified by:
      init in interface ISubGui
      Overrides:
      init in class SubGuiBox
    • tick

      public void tick()
    • charTyped

      public boolean charTyped(char typedChar, int keyCode)
      Description copied from interface: ISubGui
      Char type event
      Specified by:
      charTyped in interface ISubGui
      Overrides:
      charTyped in class SubGuiBox
      Parameters:
      typedChar - The character typed
      keyCode - 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 interface ISubGui
      Overrides:
      keyPressed in class SubGuiBox
      Parameters:
      typedChar - The character typed
      keyCode - The keycode of the character typed
      modifiers - 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 interface ISubGui
      Overrides:
      mouseClicked in class SubGuiBox