public class ComponentText extends GuiComponent
| Constructor and Description |
|---|
ComponentText(Gui gui,
int x,
int y,
int width,
int height,
float scale,
boolean fromRight,
java.lang.String... text) |
| Modifier and Type | Method and Description |
|---|---|
IResourceName |
getName() |
void |
render(IGameInstance game,
IAssetManager manager,
IRenderer g,
int x,
int y) |
boolean |
shouldDoFingerCursor(IGameInstance game) |
canCloseWithInvKey, getElementColor, getElementOutlineColor, getGuiColor, getHeight, getPriority, getRenderX, getRenderY, getUnselectedElementColor, getWidth, getX, getY, isActive, isMouseOver, isMouseOverPrioritized, onCharInput, onKeyPressed, onMouseAction, renderOverlay, setActive, toString, updatepublic ComponentText(Gui gui, int x, int y, int width, int height, float scale, boolean fromRight, java.lang.String... text)
public void render(IGameInstance game, IAssetManager manager, IRenderer g, int x, int y)
render in class GuiComponentpublic IResourceName getName()
getName in class GuiComponentpublic boolean shouldDoFingerCursor(IGameInstance game)
shouldDoFingerCursor in class GuiComponent