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, getY
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
onMouseDragged, onMouseReleased
addHelpElements, drawForeground, 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
setIfCan
public 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)
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 drawBackground(float partialTicks)
drawBackground
in interface IGuiElement
public void onMouseClicked(int button)
IInteractionElement
onMouseClicked
in interface IInteractionElement