public class GuiElementStatementParam extends GuiElementSimple implements IInteractionElement, IReference<IStatementParameter>
gui, name| Constructor and Description |
|---|
GuiElementStatementParam(BuildCraftGui gui,
IGuiArea element,
IStatementContainer container,
FullStatement<?> ref,
int index,
boolean draw) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToolTips(java.util.List<ToolTip> tooltips)
Called to add tooltips to the list of existing tool tips.
|
boolean |
canSet(IStatementParameter value) |
void |
drawBackground(float partialTicks) |
IStatementParameter |
get() |
java.lang.Class<IStatementParameter> |
getHeldType() |
void |
onMouseClicked(int button)
This is called EVEN IF the mouse is not inside your width and height!
|
void |
set(IStatementParameter to) |
getDebugInfo, getHeight, getWidth, getX, getYclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonKeyPress, onMouseDragged, onMouseReleasedaddHelpElements, drawForeground, 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, getYconvertToType, setIfCanpublic GuiElementStatementParam(BuildCraftGui gui, IGuiArea element, IStatementContainer container, FullStatement<?> ref, int index, boolean draw)
public IStatementParameter get()
get in interface IReference<IStatementParameter>public void set(IStatementParameter to)
set in interface IReference<IStatementParameter>public boolean canSet(IStatementParameter value)
canSet in interface IReference<IStatementParameter>public java.lang.Class<IStatementParameter> getHeldType()
getHeldType in interface IReference<IStatementParameter>public 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 drawBackground(float partialTicks)
drawBackground in interface IGuiElementpublic void onMouseClicked(int button)
IInteractionElementonMouseClicked in interface IInteractionElement