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() |
getChildElementsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHelpElements, getThisAndChildrenAt, onKeyPress, onMouseClicked, onMouseDragged, onMouseReleasedgetDebugInfo, tickasImmutable, 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, resizepublic 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()
IContainingElementIContainingElement.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)
IGuiElementThis is called EVEN IF the mouse is not inside your width and height!