public class TextDataElement extends GuiElement
cropElement, cropHeight, cropWidth, cropX, cropY, height, parent, visible, width, xOffset, xPos, yOffset, yPos| Constructor and Description |
|---|
TextDataElement(int xPos,
int yPos,
int width,
int height) |
| Modifier and Type | Method and Description |
|---|---|
void |
addData(TextData textData) |
void |
drawElement(int mouseX,
int mouseY)
Draws the element itself at the current position.
|
int |
getHeight() |
addEventHandler, addTooltip, addTooltip, addTooltip, clearTooltip, draw, getAbsoluteX, getAbsoluteY, getAlign, getCropElement, getCropHeight, getCropWidth, getCropX, getCropY, getParent, getTooltip, getTooltip, getWidth, getWindow, getX, getY, hasTooltip, hide, isCropped, isEnabled, isMouseOver, isMouseOver, isVisible, onCreation, onDeletion, onUpdateClient, receiveEvent, setAlign, setBounds, setCroppedZone, setHeight, setLocation, setOffset, setParent, setSize, setWidth, setXPosition, setYPosition, show, toString, updateClientdrawCenteredString, drawGradientRect, drawHorizontalLine, drawModalRectWithCustomSizedTexture, drawRect, drawScaledCustomSizeModalRect, drawString, drawTexturedModalRect, drawTexturedModalRect, drawTexturedModalRect, drawVerticalLineclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddEventHandler, addEventHandler, addSelfEventHandler, canFocus, canMouseOver, postEvent, postEventpublic TextDataElement(int xPos,
int yPos,
int width,
int height)
public int getHeight()
getHeight in interface IGuiElementgetHeight in class GuiElementpublic void drawElement(int mouseX,
int mouseY)
IGuiElementdrawElement in interface IGuiElementdrawElement in class GuiElementmouseX - The x position of the mouse relative to the parent of the element.mouseY - The y position of the mouse relative to the parent of the element.public void addData(TextData textData)