public class GuiElementStatementParam extends GuiElementSimple<GuiJson<?>> implements IInteractionElement, IReference<IStatementParameter>
gui, name| Constructor and Description |
|---|
GuiElementStatementParam(GuiJson<?> 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(java.lang.Object value) |
void |
drawBackground(float partialTicks) |
IStatementParameter |
get() |
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, waitonMouseDragged, 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, getYsetIfCanpublic GuiElementStatementParam(GuiJson<?> 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(java.lang.Object value)
canSet 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