public class GuiElementStatementDrag extends java.lang.Object implements IMenuElement
| Constructor and Description |
|---|
GuiElementStatementDrag(GuiBC8<?> gui) |
| Modifier and Type | Method and Description |
|---|---|
void |
drawForeground(float partialTicks) |
double |
getHeight() |
double |
getWidth() |
double |
getX() |
double |
getY() |
void |
onMouseClicked(int button)
This is called EVEN IF the mouse is not inside your width and height!
|
void |
onMouseReleased(int button)
This is called EVEN IF the mouse is not inside your width and height!
|
boolean |
shouldFullyOverride() |
void |
startDragging(IGuiSlot slot) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonMouseDraggedaddHelpElements, addToolTips, drawBackground, getDebugInfo, getThisAndChildrenAt, tickasImmutable, contains, contains, contains, create, create, create, expand, expand, expand, expand, getCenter, getCenterTop, getCenterX, getCenterY, getEnd, getEndX, getEndY, getPosition, offset, offset, offset, offset, offset, offsetToOrigin, rectangleToString, resize, resizepublic final GuiBC8<?> gui
public GuiElementStatementDrag(GuiBC8<?> gui)
public void startDragging(IGuiSlot slot)
public double getX()
getX in interface IGuiPositionpublic double getY()
getY in interface IGuiPositionpublic void drawForeground(float partialTicks)
drawForeground in interface IGuiElementpublic void onMouseClicked(int button)
IInteractionElementonMouseClicked in interface IInteractionElementpublic void onMouseReleased(int button)
IInteractionElementonMouseReleased in interface IInteractionElementpublic boolean shouldFullyOverride()
shouldFullyOverride in interface IMenuElement