public class GuiElementStatementDrag extends java.lang.Object implements IMenuElement
| Modifier and Type | Field and Description |
|---|---|
BuildCraftGui |
gui |
| Constructor and Description |
|---|
GuiElementStatementDrag(BuildCraftGui 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, waitonKeyPress, onMouseDraggedaddHelpElements, 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 BuildCraftGui gui
public GuiElementStatementDrag(BuildCraftGui 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