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, getY
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldFullyOverride
onKeyPress, onMouseClicked, onMouseDragged
addHelpElements, getDebugInfo, getThisAndChildrenAt, tick
asImmutable, 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, resize
getX, getY
public 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 IGuiElement
public void drawForeground(float partialTicks)
drawForeground
in interface IGuiElement
public void addToolTips(java.util.List<ToolTip> tooltips)
IGuiElement
This is called EVEN IF the mouse is not inside your width and height!
addToolTips
in interface IGuiElement
addToolTips
in interface ITooltipElement
public void onMouseReleased(int button)
IInteractionElement
onMouseReleased
in interface IInteractionElement