public class GuiElementContainerResizing extends GuiElementContainer2
Modifier and Type | Field and Description |
---|---|
IGuiPosition |
childRoot |
gui
Constructor and Description |
---|
GuiElementContainerResizing(BuildCraftGui gui,
IGuiPosition childRoot) |
Modifier and Type | Method and Description |
---|---|
void |
addToolTips(java.util.List<ToolTip> tooltips)
Called to add tooltips to the list of existing tool tips.
|
void |
calculateSizes()
Called after
IContainingElement.getChildElements() is added to, possibly last (so it might not be called after every
addition). |
void |
drawBackground(float partialTicks) |
void |
drawForeground(float partialTicks) |
IGuiPosition |
getChildElementPosition() |
double |
getHeight() |
double |
getWidth() |
double |
getX() |
double |
getY() |
getChildElements
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addHelpElements, getThisAndChildrenAt, onKeyPress, onMouseClicked, onMouseDragged, onMouseReleased
getDebugInfo, tick
asImmutable, contains, contains, contains, create, create, create, expand, expand, expand, expand, getCenter, getCenterTop, getCenterX, getCenterY, getEnd, getEndX, getEndY, getPosition, offset, offset, offset, offset, offset, offsetToOrigin, rectangleToString, resize, resize
public final IGuiPosition childRoot
public GuiElementContainerResizing(BuildCraftGui gui, IGuiPosition childRoot)
public IGuiPosition getChildElementPosition()
public double getX()
public double getY()
public double getWidth()
public double getHeight()
public void calculateSizes()
IContainingElement
IContainingElement.getChildElements()
is added to, possibly last (so it might not be called after every
addition).public void drawBackground(float partialTicks)
public void drawForeground(float partialTicks)
public void addToolTips(java.util.List<ToolTip> tooltips)
IGuiElement
This is called EVEN IF the mouse is not inside your width and height!