public class GuiElementStatementVariant extends GuiElementSimple implements IMenuElement
| Modifier and Type | Field and Description |
|---|---|
static SpriteNineSliced |
SELECTION_HOVER |
gui, name| Constructor and Description |
|---|
GuiElementStatementVariant(BuildCraftGui gui,
IGuiArea element,
IReference<? extends IGuiSlot> ref,
IGuiSlot[] possible,
IGuiArea[] posPossible) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToolTips(java.util.List<ToolTip> tooltips)
Called to add tooltips to the list of existing tool tips.
|
static GuiElementStatementVariant |
create(BuildCraftGui gui,
IGuiArea parent,
IReference<? extends IGuiSlot> ref,
IGuiSlot[] possible) |
void |
drawBackground(float partialTicks) |
void |
drawForeground(float partialTicks) |
void |
onMouseReleased(int button)
This is called EVEN IF the mouse is not inside your width and height!
|
getDebugInfo, getHeight, getWidth, getX, getYclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshouldFullyOverrideonKeyPress, onMouseClicked, onMouseDraggedaddHelpElements, getDebugInfo, getThisAndChildrenAt, tickasImmutable, contains, contains, contains, create, create, create, expand, expand, expand, expand, getCenter, getCenterTop, getCenterX, getCenterY, getEnd, getEndX, getEndY, getHeight, getPosition, getWidth, offset, offset, offset, offset, offset, offsetToOrigin, rectangleToString, resize, resizegetX, getYpublic static final SpriteNineSliced SELECTION_HOVER
public GuiElementStatementVariant(BuildCraftGui gui, IGuiArea element, IReference<? extends IGuiSlot> ref, IGuiSlot[] possible, IGuiArea[] posPossible)
public static GuiElementStatementVariant create(BuildCraftGui gui, IGuiArea parent, IReference<? extends IGuiSlot> ref, IGuiSlot[] possible)
public void drawBackground(float partialTicks)
drawBackground in interface IGuiElementpublic void drawForeground(float partialTicks)
drawForeground in interface IGuiElementpublic void addToolTips(java.util.List<ToolTip> tooltips)
IGuiElementThis is called EVEN IF the mouse is not inside your width and height!
addToolTips in interface IGuiElementaddToolTips in interface ITooltipElementpublic void onMouseReleased(int button)
IInteractionElementonMouseReleased in interface IInteractionElement